aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/xprtsock.c
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2009-11-16 06:11:48 -0500
committerEric W. Biederman <ebiederm@xmission.com>2009-11-18 11:37:40 -0500
commit6d4561110a3e9fa742aeec6717248a491dfb1878 (patch)
tree689e2abf19940416ce597ba56ed31026ff59bd21 /net/sunrpc/xprtsock.c
parent86926d0096279b9739ceeff40f68d3c33b9119a9 (diff)
sysctl: Drop & in front of every proc_handler.
For consistency drop & in front of every proc_handler. Explicity taking the address is unnecessary and it prevents optimizations like stubbing the proc_handlers to NULL. Cc: Alexey Dobriyan <adobriyan@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Joe Perches <joe@perches.com> Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Diffstat (limited to 'net/sunrpc/xprtsock.c')
-rw-r--r--net/sunrpc/xprtsock.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/net/sunrpc/xprtsock.c b/net/sunrpc/xprtsock.c
index 8b9a2079f2e3..04732d09013e 100644
--- a/net/sunrpc/xprtsock.c
+++ b/net/sunrpc/xprtsock.c
@@ -85,7 +85,7 @@ static ctl_table xs_tunables_table[] = {
85 .data = &xprt_udp_slot_table_entries, 85 .data = &xprt_udp_slot_table_entries,
86 .maxlen = sizeof(unsigned int), 86 .maxlen = sizeof(unsigned int),
87 .mode = 0644, 87 .mode = 0644,
88 .proc_handler = &proc_dointvec_minmax, 88 .proc_handler = proc_dointvec_minmax,
89 .extra1 = &min_slot_table_size, 89 .extra1 = &min_slot_table_size,
90 .extra2 = &max_slot_table_size 90 .extra2 = &max_slot_table_size
91 }, 91 },
@@ -94,7 +94,7 @@ static ctl_table xs_tunables_table[] = {
94 .data = &xprt_tcp_slot_table_entries, 94 .data = &xprt_tcp_slot_table_entries,
95 .maxlen = sizeof(unsigned int), 95 .maxlen = sizeof(unsigned int),
96 .mode = 0644, 96 .mode = 0644,
97 .proc_handler = &proc_dointvec_minmax, 97 .proc_handler = proc_dointvec_minmax,
98 .extra1 = &min_slot_table_size, 98 .extra1 = &min_slot_table_size,
99 .extra2 = &max_slot_table_size 99 .extra2 = &max_slot_table_size
100 }, 100 },
@@ -103,7 +103,7 @@ static ctl_table xs_tunables_table[] = {
103 .data = &xprt_min_resvport, 103 .data = &xprt_min_resvport,
104 .maxlen = sizeof(unsigned int), 104 .maxlen = sizeof(unsigned int),
105 .mode = 0644, 105 .mode = 0644,
106 .proc_handler = &proc_dointvec_minmax, 106 .proc_handler = proc_dointvec_minmax,
107 .extra1 = &xprt_min_resvport_limit, 107 .extra1 = &xprt_min_resvport_limit,
108 .extra2 = &xprt_max_resvport_limit 108 .extra2 = &xprt_max_resvport_limit
109 }, 109 },
@@ -112,7 +112,7 @@ static ctl_table xs_tunables_table[] = {
112 .data = &xprt_max_resvport, 112 .data = &xprt_max_resvport,
113 .maxlen = sizeof(unsigned int), 113 .maxlen = sizeof(unsigned int),
114 .mode = 0644, 114 .mode = 0644,
115 .proc_handler = &proc_dointvec_minmax, 115 .proc_handler = proc_dointvec_minmax,
116 .extra1 = &xprt_min_resvport_limit, 116 .extra1 = &xprt_min_resvport_limit,
117 .extra2 = &xprt_max_resvport_limit 117 .extra2 = &xprt_max_resvport_limit
118 }, 118 },
@@ -121,7 +121,7 @@ static ctl_table xs_tunables_table[] = {
121 .data = &xs_tcp_fin_timeout, 121 .data = &xs_tcp_fin_timeout,
122 .maxlen = sizeof(xs_tcp_fin_timeout), 122 .maxlen = sizeof(xs_tcp_fin_timeout),
123 .mode = 0644, 123 .mode = 0644,
124 .proc_handler = &proc_dointvec_jiffies, 124 .proc_handler = proc_dointvec_jiffies,
125 }, 125 },
126 { }, 126 { },
127}; 127};