Skip to contentSkip to conversation

g_NCR5380: remove misleading pnp error message

PATCH In review Ondrej Zary 1 participant 1 message Dec 20, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/3 g_NCR5380: remove misleading pnp error message

Remove misleading error message that appears after pnp card has been detected correctly.

drivers/scsi/g_NCR5380.c +1 -3
@@ -322,10 +322,8 @@ int __init generic_NCR5380_detect(struct
 		while ((dev = pnp_find_dev(NULL, ISAPNP_VENDOR('D', 'T', 'C'), ISAPNP_FUNCTION(0x436e), dev))) {
 			if (count >= NO_OVERRIDES)
 				break;
-			if (pnp_device_attach(dev) < 0) {
-				printk(KERN_ERR "dtc436e probe: attach failed\n");
+			if (pnp_device_attach(dev) < 0)
 				continue;
-			}
 			if (pnp_activate_dev(dev) < 0) {
 				printk(KERN_ERR "dtc436e probe: activate failed\n");
 				pnp_device_detach(dev);
Signature · 1 line
Ondrej Zary