patch-2.3.99-pre7 linux/drivers/pcmcia/yenta.c

Next file: linux/drivers/sbus/char/pcikbd.c
Previous file: linux/drivers/pcmcia/tcic.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre6/linux/drivers/pcmcia/yenta.c linux/drivers/pcmcia/yenta.c
@@ -786,10 +786,8 @@
 	/*
 	 * Do some basic sanity checking..
 	 */
-	if (pci_enable_device(dev)) {
-		printk("Unable to enable device\n");
+	if (pci_enable_device(dev))
 		return -1;
-	}
 	if (!dev->resource[0].start) {
 		printk("No cardbus resource!\n");
 		return -1;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)