patch-2.4.4 linux/drivers/net/slip.c

Next file: linux/drivers/net/smc-ultra.c
Previous file: linux/drivers/net/skfp/skfddi.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.3/linux/drivers/net/slip.c linux/drivers/net/slip.c
@@ -92,7 +92,7 @@
 	struct slip	ctrl;		/* SLIP things			*/
 	struct net_device	dev;		/* the device			*/
 } slip_ctrl_t;
-static slip_ctrl_t	**slip_ctrls = NULL;
+static slip_ctrl_t	**slip_ctrls;
 
 int slip_maxdev = SL_NRUNIT;		/* Can be overridden with insmod! */
 MODULE_PARM(slip_maxdev, "i");
@@ -647,8 +647,6 @@
 	dev->tx_queue_len	= 10;
 
 	SET_MODULE_OWNER(dev);
-
-	dev_init_buffers(dev);
 
 	/* New-style flags. */
 	dev->flags		= IFF_NOARP|IFF_POINTOPOINT|IFF_MULTICAST;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)