aboutsummaryrefslogtreecommitdiffstats
path: root/fs/coda
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 /fs/coda
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 'fs/coda')
-rw-r--r--fs/coda/sysctl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/coda/sysctl.c b/fs/coda/sysctl.c
index 354c050d4263..c6405ce3c50e 100644
--- a/fs/coda/sysctl.c
+++ b/fs/coda/sysctl.c
@@ -21,21 +21,21 @@ static ctl_table coda_table[] = {
21 .data = &coda_timeout, 21 .data = &coda_timeout,
22 .maxlen = sizeof(int), 22 .maxlen = sizeof(int),
23 .mode = 0644, 23 .mode = 0644,
24 .proc_handler = &proc_dointvec 24 .proc_handler = proc_dointvec
25 }, 25 },
26 { 26 {
27 .procname = "hard", 27 .procname = "hard",
28 .data = &coda_hard, 28 .data = &coda_hard,
29 .maxlen = sizeof(int), 29 .maxlen = sizeof(int),
30 .mode = 0644, 30 .mode = 0644,
31 .proc_handler = &proc_dointvec 31 .proc_handler = proc_dointvec
32 }, 32 },
33 { 33 {
34 .procname = "fake_statfs", 34 .procname = "fake_statfs",
35 .data = &coda_fake_statfs, 35 .data = &coda_fake_statfs,
36 .maxlen = sizeof(int), 36 .maxlen = sizeof(int),
37 .mode = 0600, 37 .mode = 0600,
38 .proc_handler = &proc_dointvec 38 .proc_handler = proc_dointvec
39 }, 39 },
40 {} 40 {}
41}; 41};