get rid of scan_scsis
PATCH 1/1 get rid of scan_scsis
this function was a multiplexer for two very different things, but with my last patch one of those faded away and only one callers is left. Simplify it to what's still needed and rename to scsi_scan_host.
drivers/scsi/hosts.c +1 -1
@@ -308,7 +308,7 @@ sht->info ? sht->info(shost) : sht->name);device_register (&shost->host_driverfs_dev); -scan_scsis (shost,0 ,0 ,0 ,0 ); +scsi_scan_host (shost);for (sdev = shost->host_queue; sdev; sdev = sdev->next) {if (sdev->host->hostt != sht)
drivers/scsi/hosts.h +1 -1
@@ -519,7 +519,7 @@/* * Prototypes for functions/data in scsi_scan.c */ -extern void scan_scsis (struct Scsi_Host *,uint ,uint ,uint ,uint ); +extern void scsi_scan_host (struct Scsi_Host *);struct Scsi_Device_Template {
drivers/scsi/scsi_scan.c +40 -95
151 lines not on this page · raw message