patch-2.1.20 linux/drivers/net/sdla.c
Next file: linux/drivers/net/shaper.c
Previous file: linux/drivers/net/scc.c
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Thu Jan 2 15:13:26 1997
- Orig file:
v2.1.19/linux/drivers/net/sdla.c
- Orig date:
Tue Nov 19 15:53:56 1996
diff -u --recursive --new-file v2.1.19/linux/drivers/net/sdla.c linux/drivers/net/sdla.c
@@ -1636,7 +1636,6 @@
int sdla_init(struct device *dev)
{
struct frad_local *flp;
- int i;
/* allocate the private data structure */
flp = kmalloc(sizeof(struct frad_local), GFP_KERNEL);
@@ -1666,9 +1665,8 @@
dev->addr_len = 0;
dev->mtu = SDLA_MAX_MTU;
- for (i = 0; i < DEV_NUMBUFFS; i++)
- skb_queue_head_init(&dev->buffs[i]);
-
+ dev_init_buffers(dev);
+
flp->activate = sdla_activate;
flp->deactivate = sdla_deactivate;
flp->assoc = sdla_assoc;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov