patch-2.0.35 linux/drivers/scsi/hosts.c

Next file: linux/drivers/scsi/ide-scsi.c
Previous file: linux/drivers/scsi/fdomain.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.34/linux/drivers/scsi/hosts.c linux/drivers/scsi/hosts.c
@@ -358,7 +358,7 @@
     /* If we are removing the last host registered, it is safe to reuse
      * its host number (this avoids "holes" at boot time) (DB) 
      */
-    if (max_scsi_hosts == next_scsi_host && !scsi_loadable_module_flag)
+    if (max_scsi_hosts == next_scsi_host)
 	max_scsi_hosts--;
     
     next_scsi_host--;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov