diff options
Diffstat (limited to 'net/ipv4/devinet.c')
-rw-r--r-- | net/ipv4/devinet.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/net/ipv4/devinet.c b/net/ipv4/devinet.c index bf3eb2dc766..8a0ec10a13a 100644 --- a/net/ipv4/devinet.c +++ b/net/ipv4/devinet.c | |||
@@ -1576,7 +1576,6 @@ static void devinet_sysctl_register(struct in_device *in_dev, | |||
1576 | return; | 1576 | return; |
1577 | for (i = 0; i < ARRAY_SIZE(t->devinet_vars) - 1; i++) { | 1577 | for (i = 0; i < ARRAY_SIZE(t->devinet_vars) - 1; i++) { |
1578 | t->devinet_vars[i].data += (char *)p - (char *)&ipv4_devconf; | 1578 | t->devinet_vars[i].data += (char *)p - (char *)&ipv4_devconf; |
1579 | t->devinet_vars[i].de = NULL; | ||
1580 | } | 1579 | } |
1581 | 1580 | ||
1582 | if (dev) { | 1581 | if (dev) { |
@@ -1598,13 +1597,9 @@ static void devinet_sysctl_register(struct in_device *in_dev, | |||
1598 | 1597 | ||
1599 | t->devinet_dev[0].procname = dev_name; | 1598 | t->devinet_dev[0].procname = dev_name; |
1600 | t->devinet_dev[0].child = t->devinet_vars; | 1599 | t->devinet_dev[0].child = t->devinet_vars; |
1601 | t->devinet_dev[0].de = NULL; | ||
1602 | t->devinet_conf_dir[0].child = t->devinet_dev; | 1600 | t->devinet_conf_dir[0].child = t->devinet_dev; |
1603 | t->devinet_conf_dir[0].de = NULL; | ||
1604 | t->devinet_proto_dir[0].child = t->devinet_conf_dir; | 1601 | t->devinet_proto_dir[0].child = t->devinet_conf_dir; |
1605 | t->devinet_proto_dir[0].de = NULL; | ||
1606 | t->devinet_root_dir[0].child = t->devinet_proto_dir; | 1602 | t->devinet_root_dir[0].child = t->devinet_proto_dir; |
1607 | t->devinet_root_dir[0].de = NULL; | ||
1608 | 1603 | ||
1609 | t->sysctl_header = register_sysctl_table(t->devinet_root_dir); | 1604 | t->sysctl_header = register_sysctl_table(t->devinet_root_dir); |
1610 | if (!t->sysctl_header) | 1605 | if (!t->sysctl_header) |