summaryrefslogtreecommitdiffstats
path: root/net/netrom/nr_dev.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/netrom/nr_dev.c')
-rw-r--r--net/netrom/nr_dev.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/net/netrom/nr_dev.c b/net/netrom/nr_dev.c
index f7b617dcc..380ec8ecc 100644
--- a/net/netrom/nr_dev.c
+++ b/net/netrom/nr_dev.c
@@ -249,14 +249,6 @@ int nr_init(struct device *dev)
/* 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;