summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2004-08-01 22:44:40 +0000
committermarcel <marcel@FreeBSD.org>2004-08-01 22:44:40 +0000
commit309eb12b7797e240f3fb7827fc134d806a0cade6 (patch)
treee1f3f70df3802086bab2bed5fa2c2c718813ba6a /usr.sbin/sysinstall
parent321873698c7bcd32a6a453937f7624419fbca446 (diff)
downloadFreeBSD-src-309eb12b7797e240f3fb7827fc134d806a0cade6.zip
FreeBSD-src-309eb12b7797e240f3fb7827fc134d806a0cade6.tar.gz
Remove unnecessary use of the __ia64__ conditional. This slightly improves
maintainability and generally avoids confusion.
Diffstat (limited to 'usr.sbin/sysinstall')
-rw-r--r--usr.sbin/sysinstall/disks.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/usr.sbin/sysinstall/disks.c b/usr.sbin/sysinstall/disks.c
index 535fb05..f3743b2 100644
--- a/usr.sbin/sysinstall/disks.c
+++ b/usr.sbin/sysinstall/disks.c
@@ -396,7 +396,7 @@ diskPartition(Device *dev)
case 'A':
case 'F': /* Undocumented magic Dangerously Dedicated mode */
-#if !defined(__i386__) && !defined(__amd64__) && !defined(__ia64__)
+#if !defined(__i386__) && !defined(__amd64__)
rv = 1;
#else /* The rest is only relevant on x86 */
cp = variable_get(VAR_DEDICATE_DISK);
@@ -624,8 +624,7 @@ diskPartition(Device *dev)
}
clear();
break;
-
-#ifndef __ia64__
+
case '|':
if (!msgNoYes("Are you SURE you want to go into Wizard mode?\n"
"No seat belts whatsoever are provided!")) {
@@ -639,7 +638,6 @@ diskPartition(Device *dev)
msg = "Wise choice!";
clear();
break;
-#endif
case '\033': /* ESC */
case 'Q':
@@ -856,7 +854,7 @@ diskPartitionWrite(dialogMenuItem *self)
for (i = 0; devs[i]; i++) {
Disk *d = (Disk *)devs[i]->private;
static u_char *boot1;
-#if defined(__i386__) || defined(__ia64__) || defined(__amd64__)
+#if defined(__i386__) || defined(__amd64__)
static u_char *boot2;
#endif
OpenPOWER on IntegriCloud