Commit 31e6d03a authored by Art Haas's avatar Art Haas Committed by Hideaki Yoshifuji

[NET] Remove some 0 initializers.

These small patches remove a number of '.maxlen = 0,' initializers.
parent 0024270e
...@@ -36,7 +36,6 @@ static ctl_table ax25_dir_table[] = { ...@@ -36,7 +36,6 @@ static ctl_table ax25_dir_table[] = {
{ {
.ctl_name = NET_AX25, .ctl_name = NET_AX25,
.procname = "ax25", .procname = "ax25",
.maxlen = 0,
.mode = 0555, .mode = 0555,
}, },
{ .ctl_name = 0 } { .ctl_name = 0 }
...@@ -46,7 +45,6 @@ static ctl_table ax25_root_table[] = { ...@@ -46,7 +45,6 @@ static ctl_table ax25_root_table[] = {
{ {
.ctl_name = CTL_NET, .ctl_name = CTL_NET,
.procname = "net", .procname = "net",
.maxlen = 0,
.mode = 0555, .mode = 0555,
.child = ax25_dir_table .child = ax25_dir_table
}, },
......
...@@ -86,7 +86,6 @@ static ctl_table ipv6_net_table[] = { ...@@ -86,7 +86,6 @@ static ctl_table ipv6_net_table[] = {
{ {
.ctl_name = NET_IPV6, .ctl_name = NET_IPV6,
.procname = "ipv6", .procname = "ipv6",
.maxlen = 0,
.mode = 0555, .mode = 0555,
.child = ipv6_table .child = ipv6_table
}, },
...@@ -97,7 +96,6 @@ static ctl_table ipv6_root_table[] = { ...@@ -97,7 +96,6 @@ static ctl_table ipv6_root_table[] = {
{ {
.ctl_name = CTL_NET, .ctl_name = CTL_NET,
.procname = "net", .procname = "net",
.maxlen = 0,
.mode = 0555, .mode = 0555,
.child = ipv6_net_table .child = ipv6_net_table
}, },
......
...@@ -162,7 +162,6 @@ static ctl_table nr_dir_table[] = { ...@@ -162,7 +162,6 @@ static ctl_table nr_dir_table[] = {
{ {
.ctl_name = NET_NETROM, .ctl_name = NET_NETROM,
.procname = "netrom", .procname = "netrom",
.maxlen = 0,
.mode = 0555, .mode = 0555,
.child = nr_table .child = nr_table
}, },
...@@ -173,7 +172,6 @@ static ctl_table nr_root_table[] = { ...@@ -173,7 +172,6 @@ static ctl_table nr_root_table[] = {
{ {
.ctl_name = CTL_NET, .ctl_name = CTL_NET,
.procname = "net", .procname = "net",
.maxlen = 0,
.mode = 0555, .mode = 0555,
.child = nr_dir_table .child = nr_dir_table
}, },
......
...@@ -142,7 +142,6 @@ static ctl_table rose_dir_table[] = { ...@@ -142,7 +142,6 @@ static ctl_table rose_dir_table[] = {
{ {
.ctl_name = NET_ROSE, .ctl_name = NET_ROSE,
.procname = "rose", .procname = "rose",
.maxlen = 0,
.mode = 0555, .mode = 0555,
.child = rose_table .child = rose_table
}, },
...@@ -153,7 +152,6 @@ static ctl_table rose_root_table[] = { ...@@ -153,7 +152,6 @@ static ctl_table rose_root_table[] = {
{ {
.ctl_name = CTL_NET, .ctl_name = CTL_NET,
.procname = "net", .procname = "net",
.maxlen = 0,
.mode = 0555, .mode = 0555,
.child = rose_dir_table .child = rose_dir_table
}, },
......
...@@ -68,7 +68,6 @@ static ctl_table rxrpc_dir_sysctl_table[] = { ...@@ -68,7 +68,6 @@ static ctl_table rxrpc_dir_sysctl_table[] = {
{ {
.ctl_name = 1, .ctl_name = 1,
.procname = "rxrpc", .procname = "rxrpc",
.maxlen = 0,
.mode = 0555, .mode = 0555,
.child = rxrpc_sysctl_table .child = rxrpc_sysctl_table
}, },
......
...@@ -152,7 +152,6 @@ static ctl_table sctp_net_table[] = { ...@@ -152,7 +152,6 @@ static ctl_table sctp_net_table[] = {
{ {
.ctl_name = NET_SCTP, .ctl_name = NET_SCTP,
.procname = "sctp", .procname = "sctp",
.maxlen = 0,
.mode = 0555, .mode = 0555,
.child = sctp_table .child = sctp_table
}, },
...@@ -163,7 +162,6 @@ static ctl_table sctp_root_table[] = { ...@@ -163,7 +162,6 @@ static ctl_table sctp_root_table[] = {
{ {
.ctl_name = CTL_NET, .ctl_name = CTL_NET,
.procname = "net", .procname = "net",
.maxlen = 0,
.mode = 0555, .mode = 0555,
.child = sctp_net_table .child = sctp_net_table
}, },
......
...@@ -155,7 +155,6 @@ static ctl_table sunrpc_table[] = { ...@@ -155,7 +155,6 @@ static ctl_table sunrpc_table[] = {
{ {
.ctl_name = CTL_SUNRPC, .ctl_name = CTL_SUNRPC,
.procname = "sunrpc", .procname = "sunrpc",
.maxlen = 0,
.mode = 0555, .mode = 0555,
.child = debug_table .child = debug_table
}, },
......
...@@ -30,7 +30,6 @@ static ctl_table unix_net_table[] = { ...@@ -30,7 +30,6 @@ static ctl_table unix_net_table[] = {
{ {
.ctl_name = NET_UNIX, .ctl_name = NET_UNIX,
.procname = "unix", .procname = "unix",
.maxlen = 0,
.mode = 0555, .mode = 0555,
.child = unix_table .child = unix_table
}, },
...@@ -41,7 +40,6 @@ static ctl_table unix_root_table[] = { ...@@ -41,7 +40,6 @@ static ctl_table unix_root_table[] = {
{ {
.ctl_name = CTL_NET, .ctl_name = CTL_NET,
.procname = "net", .procname = "net",
.maxlen = 0,
.mode = 0555, .mode = 0555,
.child = unix_net_table .child = unix_net_table
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment