patch-2.1.20 linux/drivers/net/pt.c
Next file: linux/drivers/net/scc.c
Previous file: linux/drivers/net/ppp.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Thu Jan 2 15:13:26 1997
- Orig file:
v2.1.19/linux/drivers/net/pt.c
- Orig date:
Mon Dec 30 15:39:10 1996
diff -u --recursive --new-file v2.1.19/linux/drivers/net/pt.c linux/drivers/net/pt.c
@@ -733,7 +733,6 @@
{
short ioaddr;
struct pt_local *lp;
- int i;
unsigned long flags;
unsigned long mem_ptr;
@@ -851,8 +850,7 @@
dev->get_stats = pt_get_stats;
/* Fill in the fields of the device structure */
- for (i=0; i < DEV_NUMBUFFS; i++)
- skb_queue_head_init(&dev->buffs[i]);
+ dev_init_buffers(dev);
#if defined(CONFIG_AX25) || defined(CONFIG_AX25_MODULE)
dev->hard_header = ax25_encapsulate;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov