patch-2.1.68 linux/net/rose/rose_dev.c

Next file: linux/net/rose/rose_in.c
Previous file: linux/net/rose/af_rose.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.67/linux/net/rose/rose_dev.c linux/net/rose/rose_dev.c
@@ -221,14 +221,6 @@
 
 	/* New-style flags. */
 	dev->flags		= 0;
-	dev->family		= AF_INET;
-
-#ifdef CONFIG_INET
-	dev->pa_addr		= in_aton("192.168.0.1");
-	dev->pa_brdaddr		= in_aton("192.168.0.255");
-	dev->pa_mask		= in_aton("255.255.255.0");
-	dev->pa_alen		= 4;
-#endif
 
 	if ((dev->priv = kmalloc(sizeof(struct net_device_stats), GFP_KERNEL)) == NULL)
 		return -ENOMEM;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov