net ipv4: Remove the unneeded registration of an empty net/ipv4/neigh
sysctl no longer requires explicit creation of directories. The neigh directory is always populated with at least a default entry so this won't cause any user visible changes. Delete the ipv4_path and the ipv4_skeleton these are no longer needed. Directly register the ipv4_route_table. And since I am an idiot remove the header definitions that I should have removed in the previous patch. Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> Acked-by: Pavel Emelyanov <xemul@parallels.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
a5287acc6c
commit
4e5ca78541
@@ -661,8 +661,6 @@ extern struct ctl_table *ipv6_icmp_sysctl_init(struct net *net);
|
||||
extern struct ctl_table *ipv6_route_sysctl_init(struct net *net);
|
||||
extern int ipv6_sysctl_register(void);
|
||||
extern void ipv6_sysctl_unregister(void);
|
||||
extern int ipv6_static_sysctl_register(void);
|
||||
extern void ipv6_static_sysctl_unregister(void);
|
||||
#endif
|
||||
|
||||
#endif /* _NET_IPV6_H */
|
||||
|
Reference in New Issue
Block a user