aboutsummaryrefslogtreecommitdiffstats
path: root/fs/notify
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/notify
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/notify')
-rw-r--r--fs/notify/inotify/inotify_user.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/notify/inotify/inotify_user.c b/fs/notify/inotify/inotify_user.c
index 5275921ed1ce..1d1d1a2765dd 100644
--- a/fs/notify/inotify/inotify_user.c
+++ b/fs/notify/inotify/inotify_user.c
@@ -73,7 +73,7 @@ ctl_table inotify_table[] = {
73 .data = &inotify_max_user_instances, 73 .data = &inotify_max_user_instances,
74 .maxlen = sizeof(int), 74 .maxlen = sizeof(int),
75 .mode = 0644, 75 .mode = 0644,
76 .proc_handler = &proc_dointvec_minmax, 76 .proc_handler = proc_dointvec_minmax,
77 .extra1 = &zero, 77 .extra1 = &zero,
78 }, 78 },
79 { 79 {
@@ -81,7 +81,7 @@ ctl_table inotify_table[] = {
81 .data = &inotify_max_user_watches, 81 .data = &inotify_max_user_watches,
82 .maxlen = sizeof(int), 82 .maxlen = sizeof(int),
83 .mode = 0644, 83 .mode = 0644,
84 .proc_handler = &proc_dointvec_minmax, 84 .proc_handler = proc_dointvec_minmax,
85 .extra1 = &zero, 85 .extra1 = &zero,
86 }, 86 },
87 { 87 {
@@ -89,7 +89,7 @@ ctl_table inotify_table[] = {
89 .data = &inotify_max_queued_events, 89 .data = &inotify_max_queued_events,
90 .maxlen = sizeof(int), 90 .maxlen = sizeof(int),
91 .mode = 0644, 91 .mode = 0644,
92 .proc_handler = &proc_dointvec_minmax, 92 .proc_handler = proc_dointvec_minmax,
93 .extra1 = &zero 93 .extra1 = &zero
94 }, 94 },
95 { } 95 { }