patch-2.1.20 linux/drivers/net/strip.c
Next file: linux/drivers/net/tunnel.c
Previous file: linux/drivers/net/slip.c
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Thu Jan 2 15:13:26 1997
- Orig file:
v2.1.19/linux/drivers/net/strip.c
- Orig date:
Tue Oct 29 19:58:12 1996
diff -u --recursive --new-file v2.1.19/linux/drivers/net/strip.c linux/drivers/net/strip.c
@@ -2414,8 +2414,6 @@
static int strip_dev_init(struct device *dev)
{
- int i;
-
/*
* Finish setting up the DEVICE info.
*/
@@ -2446,8 +2444,7 @@
* Pointer to the interface buffers.
*/
- for (i = 0; i < DEV_NUMBUFFS; i++)
- skb_queue_head_init(&dev->buffs[i]);
+ dev_init_buffers(dev);
/*
* Pointers to interface service routines.
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov