patch-2.4.4 linux/drivers/net/wan/hdlc.c
Next file: linux/drivers/net/wan/hostess_sv11.c
Previous file: linux/drivers/net/wan/dscc4.c
Back to the patch index
Back to the overall index
- Lines: 25
- Date:
Wed Apr 18 14:40:07 2001
- Orig file:
v2.4.3/linux/drivers/net/wan/hdlc.c
- Orig date:
Tue Mar 6 19:44:36 2001
diff -u --recursive --new-file v2.4.3/linux/drivers/net/wan/hdlc.c linux/drivers/net/wan/hdlc.c
@@ -1292,8 +1292,6 @@
pvc->netdev.tx_queue_len = 0;
pvc->netdev.flags = IFF_POINTOPOINT;
- dev_init_buffers(&pvc->netdev);
-
pvc->master = hdlc;
*(u16*)pvc->netdev.dev_addr = htons(dlci);
dlci_to_q922(pvc->netdev.broadcast, dlci);
@@ -1393,7 +1391,6 @@
dev->flags = IFF_POINTOPOINT | IFF_NOARP;
- dev_init_buffers(dev);
return 0;
}
@@ -1423,7 +1420,6 @@
if (result != 0)
return -EIO;
- dev_init_buffers(dev);
MOD_INC_USE_COUNT;
return 0;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)