]> err.no Git - linux-2.6/commitdiff
[PATCH] xircom_cb: wire up errors from pci_register_driver()
authorAlexey Dobriyan <adobriyan@gmail.com>
Tue, 15 Aug 2006 06:00:28 +0000 (23:00 -0700)
committerJeff Garzik <jeff@garzik.org>
Sat, 19 Aug 2006 21:44:30 +0000 (17:44 -0400)
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Jeff Garzik <jeff@garzik.org>
Cc: Dominik Brodowski <linux@dominikbrodowski.net>
Cc: Valerie Henson <val_henson@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/tulip/xircom_cb.c

index f874e4f6ccf6076d90899a3f73ba80c4fe4a58c2..cf43390d2c80d44943cc056eb373977874dab50d 100644 (file)
@@ -1264,8 +1264,7 @@ static void investigate_write_descriptor(struct net_device *dev, struct xircom_p
 
 static int __init xircom_init(void)
 {
-       pci_register_driver(&xircom_ops);
-       return 0;
+       return pci_register_driver(&xircom_ops);
 }
 
 static void __exit xircom_exit(void)