patch-2.3.99-pre7 linux/drivers/net/ne2k-pci.c
Next file: linux/drivers/net/ne3210.c
Previous file: linux/drivers/net/ne2.c
Back to the patch index
Back to the overall index
- Lines: 29
- Date:
Fri Apr 28 23:00:05 2000
- Orig file:
v2.3.99-pre6/linux/drivers/net/ne2k-pci.c
- Orig date:
Wed Apr 26 16:34:08 2000
diff -u --recursive --new-file v2.3.99-pre6/linux/drivers/net/ne2k-pci.c linux/drivers/net/ne2k-pci.c
@@ -189,10 +189,8 @@
}
i = pci_enable_device (pdev);
- if (i) {
- printk (KERN_ERR "ne2k-pci: cannot enable device\n");
+ if (i)
return i;
- }
if (request_region (ioaddr, NE_IO_EXTENT, "ne2k-pci") == NULL) {
printk (KERN_ERR "ne2k-pci: I/O resource 0x%x @ 0x%lx busy\n",
@@ -567,7 +565,6 @@
{
int rc;
- MOD_INC_USE_COUNT;
lock_8390_module();
rc = pci_module_init (&ne2k_driver);
@@ -576,8 +573,6 @@
if (rc <= 0)
unlock_8390_module();
- MOD_DEC_USE_COUNT;
-
return rc;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)