aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2012-04-19 09:46:06 -0400
committerDavid S. Miller <davem@davemloft.net>2012-04-20 21:22:30 -0400
commit5f568e5afe35721f2f692bccab243ba87cd8f87a (patch)
treecf768cf2fc95974f9228848722aa1afb8fd02a33 /include
parenta5347fe36b313c07d59b065d00a8fa56362c5f97 (diff)
net: Remove register_net_sysctl_table
All of the users have been converted to use registera_net_sysctl so we no longer need register_net_sysctl. 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>
Diffstat (limited to 'include')
-rw-r--r--include/net/net_namespace.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/net/net_namespace.h b/include/net/net_namespace.h
index 6413fcb53cd1..3ee4a3da7168 100644
--- a/include/net/net_namespace.h
+++ b/include/net/net_namespace.h
@@ -279,7 +279,6 @@ extern void unregister_pernet_subsys(struct pernet_operations *);
279extern int register_pernet_device(struct pernet_operations *); 279extern int register_pernet_device(struct pernet_operations *);
280extern void unregister_pernet_device(struct pernet_operations *); 280extern void unregister_pernet_device(struct pernet_operations *);
281 281
282struct ctl_path;
283struct ctl_table; 282struct ctl_table;
284struct ctl_table_header; 283struct ctl_table_header;
285 284
@@ -288,8 +287,6 @@ extern int net_sysctl_init(void);
288#else 287#else
289static inline int net_sysctl_init(void) { return 0; } 288static inline int net_sysctl_init(void) { return 0; }
290#endif 289#endif
291extern struct ctl_table_header *register_net_sysctl_table(struct net *net,
292 const struct ctl_path *path, struct ctl_table *table);
293extern struct ctl_table_header *register_net_sysctl(struct net *net, 290extern struct ctl_table_header *register_net_sysctl(struct net *net,
294 const char *path, struct ctl_table *table); 291 const char *path, struct ctl_table *table);
295extern void unregister_net_sysctl_table(struct ctl_table_header *header); 292extern void unregister_net_sysctl_table(struct ctl_table_header *header);