diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2014-07-20 18:24:35 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2014-07-20 18:24:35 +0000 |
commit | 43d3dd96046841a03db84fa287262e4e4a010207 (patch) | |
tree | 2c238d17eab8bcb1d5905b5a4c887a025fc7662d /sys/arch | |
parent | 44ec37555e64db324e87efc62cf3984512e01c71 (diff) |
RB_MINIROOT is never checked by anything, so stop setting it.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/alpha/alpha/machdep.c | 8 | ||||
-rw-r--r-- | sys/arch/sparc64/include/boot_flag.h | 5 |
2 files changed, 2 insertions, 11 deletions
diff --git a/sys/arch/alpha/alpha/machdep.c b/sys/arch/alpha/alpha/machdep.c index 3ec94701f00..204a8906f01 100644 --- a/sys/arch/alpha/alpha/machdep.c +++ b/sys/arch/alpha/alpha/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.162 2014/07/13 22:53:38 uebayasi Exp $ */ +/* $OpenBSD: machdep.c,v 1.163 2014/07/20 18:24:34 deraadt Exp $ */ /* $NetBSD: machdep.c,v 1.210 2000/06/01 17:12:38 thorpej Exp $ */ /*- @@ -721,12 +721,6 @@ nobootinfo: boothowto |= RB_HALT; break; -#if 0 - case 'm': /* mini root present in memory */ - case 'M': - boothowto |= RB_MINIROOT; - break; -#endif case 'n': /* askname */ case 'N': diff --git a/sys/arch/sparc64/include/boot_flag.h b/sys/arch/sparc64/include/boot_flag.h index c95eae95cb5..77518f1861d 100644 --- a/sys/arch/sparc64/include/boot_flag.h +++ b/sys/arch/sparc64/include/boot_flag.h @@ -1,4 +1,4 @@ -/* $OpenBSD: boot_flag.h,v 1.3 2011/03/23 16:54:37 pirofti Exp $ */ +/* $OpenBSD: boot_flag.h,v 1.4 2014/07/20 18:24:34 deraadt Exp $ */ /* $NetBSD: boot_flag.h,v 1.3 2001/07/01 02:56:21 gmcgarry Exp $ */ /*- @@ -53,9 +53,6 @@ case 'd': /* break into the kernel debugger ASAP (if compiled in) */ \ (retval) |= RB_KDB; \ break; \ - case 'm': /* mini root present in memory */ \ - (retval) |= RB_MINIROOT; \ - break; \ case 's': /* boot to single user */ \ (retval) |= RB_SINGLE; \ break; \ |