patch-2.4.0-test10 linux/drivers/net/sgiseeq.c
Next file: linux/drivers/net/sis900.h
Previous file: linux/drivers/net/seeq8005.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Mon Oct 30 12:24:22 2000
- Orig file:
v2.4.0-test9/linux/drivers/net/sgiseeq.c
- Orig date:
Tue Jul 11 11:12:24 2000
diff -u --recursive --new-file v2.4.0-test9/linux/drivers/net/sgiseeq.c linux/drivers/net/sgiseeq.c
@@ -599,13 +599,9 @@
int i;
struct sgiseeq_private *sp;
- if (dev == NULL) {
- dev = init_etherdev(0, sizeof(struct sgiseeq_private));
- } else {
- dev->priv = (struct sgiseeq_private *) get_free_page(GFP_KERNEL);
- if (dev->priv == NULL)
- return -ENOMEM;
- }
+ dev->priv = (struct sgiseeq_private *) get_free_page(GFP_KERNEL);
+ if (dev->priv == NULL)
+ return -ENOMEM;
if (!version_printed++)
printk(version);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)