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

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