summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-12-15 13:49:19 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-12-15 13:49:19 +0000
commit24c128184f2f8f2be8466c441c7ac0abef6fbbe1 (patch)
treec0827bba7cffd63f3fdd4e28b0eefa406537e377
parentfcccd1bc06e0d11230042658c7ece6f90784e83f (diff)
delete archaic chuck of code relating to dumpdev
-rw-r--r--sys/arch/sparc/sparc/autoconf.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/sys/arch/sparc/sparc/autoconf.c b/sys/arch/sparc/sparc/autoconf.c
index b66f5e0c0e4..a636bddbc71 100644
--- a/sys/arch/sparc/sparc/autoconf.c
+++ b/sys/arch/sparc/sparc/autoconf.c
@@ -1655,32 +1655,6 @@ gotswap:
printf("can't figure root, hope your kernel is right\n");
return;
}
-
-#if 0
- /*
- * XXX: What is this doing?
- */
- mindev &= ~PARTITIONMASK;
- temp = NODEV;
- for (swp = swdevt; swp->sw_dev != NODEV; swp++) {
- if (majdev == major(swp->sw_dev) &&
- mindev == (minor(swp->sw_dev) & ~PARTITIONMASK)) {
- temp = swdevt[0].sw_dev;
- swdevt[0].sw_dev = swp->sw_dev;
- swp->sw_dev = temp;
- break;
- }
- }
- if (swp->sw_dev == NODEV)
- return;
-
- /*
- * If dumpdev was the same as the old primary swap device, move
- * it to the new primary swap device.
- */
- if (temp == dumpdev)
- dumpdev = swdevt[0].sw_dev;
-#endif
}
static int