aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/g_NCR5380.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/scsi/g_NCR5380.c b/drivers/scsi/g_NCR5380.c
index 75585a52c88b..6bc0015662e0 100644
--- a/drivers/scsi/g_NCR5380.c
+++ b/drivers/scsi/g_NCR5380.c
@@ -322,10 +322,8 @@ int __init generic_NCR5380_detect(struct scsi_host_template * tpnt)
322 while ((dev = pnp_find_dev(NULL, ISAPNP_VENDOR('D', 'T', 'C'), ISAPNP_FUNCTION(0x436e), dev))) { 322 while ((dev = pnp_find_dev(NULL, ISAPNP_VENDOR('D', 'T', 'C'), ISAPNP_FUNCTION(0x436e), dev))) {
323 if (count >= NO_OVERRIDES) 323 if (count >= NO_OVERRIDES)
324 break; 324 break;
325 if (pnp_device_attach(dev) < 0) { 325 if (pnp_device_attach(dev) < 0)
326 printk(KERN_ERR "dtc436e probe: attach failed\n");
327 continue; 326 continue;
328 }
329 if (pnp_activate_dev(dev) < 0) { 327 if (pnp_activate_dev(dev) < 0) {
330 printk(KERN_ERR "dtc436e probe: activate failed\n"); 328 printk(KERN_ERR "dtc436e probe: activate failed\n");
331 pnp_device_detach(dev); 329 pnp_device_detach(dev);