remove ref to argdev
authorWilliam Nesheim <william@ucbvax.Berkeley.EDU>
Fri, 10 May 1991 11:42:47 +0000 (03:42 -0800)
committerWilliam Nesheim <william@ucbvax.Berkeley.EDU>
Fri, 10 May 1991 11:42:47 +0000 (03:42 -0800)
SCCS-vsn: sys/i386/i386/autoconf.c 7.1

usr/src/sys/i386/i386/autoconf.c

index 020f36b..a927065 100644 (file)
@@ -7,7 +7,7 @@
  *
  * %sccs.include.redist.c%
  *
  *
  * %sccs.include.redist.c%
  *
- *     @(#)autoconf.c  5.7 (Berkeley) %G%
+ *     @(#)autoconf.c  7.1 (Berkeley) %G%
  */
 
 /*
  */
 
 /*
@@ -91,7 +91,7 @@ extern int Maxmem;
                dumplo = 0;
 }
 
                dumplo = 0;
 }
 
-#define        DOSWAP                  /* change swdevt, argdev, and dumpdev too */
+#define        DOSWAP                  /* change swdevt and dumpdev */
 u_long bootdev = 0;            /* should be dev_t, but not until 32 bits */
 
 static char devname[][2] = {
 u_long bootdev = 0;            /* should be dev_t, but not until 32 bits */
 
 static char devname[][2] = {
@@ -151,12 +151,10 @@ setroot()
        if (swp->sw_dev == 0)
                return;
        /*
        if (swp->sw_dev == 0)
                return;
        /*
-        * If argdev and dumpdev were the same as the old primary swap
-        * device, move them to the new primary swap device.
+        * 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;
         */
        if (temp == dumpdev)
                dumpdev = swdevt[0].sw_dev;
-       if (temp == argdev)
-               argdev = swdevt[0].sw_dev;
 #endif
 }
 #endif
 }