mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-18 03:23:53 -04:00
[IPV4]: Use ctl paths to register net/ipv4/ table
This is the same as I did for the net/core/ table in the second patch in his series: use the paths and isolate the whole table in the .c file. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
9ba6397976
commit
3e37c3f997
@@ -31,14 +31,6 @@
|
||||
#endif
|
||||
|
||||
struct ctl_table net_table[] = {
|
||||
#ifdef CONFIG_INET
|
||||
{
|
||||
.ctl_name = NET_IPV4,
|
||||
.procname = "ipv4",
|
||||
.mode = 0555,
|
||||
.child = ipv4_table
|
||||
},
|
||||
#endif
|
||||
#ifdef CONFIG_TR
|
||||
{
|
||||
.ctl_name = NET_TR,
|
||||
|
||||
Reference in New Issue
Block a user