diff options
author | marcel <marcel@FreeBSD.org> | 2004-08-01 22:44:40 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2004-08-01 22:44:40 +0000 |
commit | 309eb12b7797e240f3fb7827fc134d806a0cade6 (patch) | |
tree | e1f3f70df3802086bab2bed5fa2c2c718813ba6a | |
parent | 321873698c7bcd32a6a453937f7624419fbca446 (diff) | |
download | FreeBSD-src-309eb12b7797e240f3fb7827fc134d806a0cade6.zip FreeBSD-src-309eb12b7797e240f3fb7827fc134d806a0cade6.tar.gz |
Remove unnecessary use of the __ia64__ conditional. This slightly improves
maintainability and generally avoids confusion.
-rw-r--r-- | usr.sbin/sade/disks.c | 8 | ||||
-rw-r--r-- | usr.sbin/sysinstall/disks.c | 8 |
2 files changed, 6 insertions, 10 deletions
diff --git a/usr.sbin/sade/disks.c b/usr.sbin/sade/disks.c index 535fb05..f3743b2 100644 --- a/usr.sbin/sade/disks.c +++ b/usr.sbin/sade/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 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 |