Commit b4b72ea8 authored by David S. Miller's avatar David S. Miller

[SCSI]: In dc395x.c, scsi_release_host() does not return a value.

parent 5c6dadfd
...@@ -5866,10 +5866,7 @@ static void __devexit dc395x_remove_one(struct pci_dev *dev) ...@@ -5866,10 +5866,7 @@ static void __devexit dc395x_remove_one(struct pci_dev *dev)
dprintkl(KERN_ERR, "no host allocated\n"); dprintkl(KERN_ERR, "no host allocated\n");
return; return;
} }
if (scsi_remove_host(host)) { scsi_remove_host(host);
dprintkl(KERN_ERR, "scsi_remove_host failed\n");
return;
}
host_release(host); host_release(host);
scsi_host_put(host); scsi_host_put(host);
pci_set_drvdata(dev, NULL); pci_set_drvdata(dev, NULL);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment