fix dc395x compile
Subsystems (2)
PATCH 1/1 fix dc395x compile
The recent update made it check the scsi_remove_host retval which is void now.
drivers/scsi/dc395x.c +1 -8
@@ -5862,14 +5862,7 @@struct Scsi_Host *host =pci_get_drvdata (dev);dprintkdbg (DBG_0 ,"Removing instance\n" ); -if (!host) { -dprintkl (KERN_ERR ,"no host allocated\n" ); -return ; - } -if (scsi_remove_host (host)) { -dprintkl (KERN_ERR ,"scsi_remove_host failed\n" ); -return ; - } +scsi_remove_host (host);host_release (host);scsi_host_put (host);pci_set_drvdata (dev,NULL );