Skip to content

Commit

Permalink
[PATCH] xircom_cb: wire up errors from pci_register_driver()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alexey Dobriyan authored and Jeff Garzik committed Aug 19, 2006
1 parent 3d8f3f3 commit ec42cdb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/net/tulip/xircom_cb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ec42cdb

Please sign in to comment.