diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2009-11-16 06:11:48 -0500 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2009-11-18 11:37:40 -0500 |
commit | 6d4561110a3e9fa742aeec6717248a491dfb1878 (patch) | |
tree | 689e2abf19940416ce597ba56ed31026ff59bd21 /kernel/slow-work.c | |
parent | 86926d0096279b9739ceeff40f68d3c33b9119a9 (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 'kernel/slow-work.c')
-rw-r--r-- | kernel/slow-work.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/slow-work.c b/kernel/slow-work.c index 0134b15b38d8..ebd9a8317a76 100644 --- a/kernel/slow-work.c +++ b/kernel/slow-work.c | |||
@@ -74,7 +74,7 @@ ctl_table slow_work_sysctls[] = { | |||
74 | .data = &vslow_work_proportion, | 74 | .data = &vslow_work_proportion, |
75 | .maxlen = sizeof(unsigned), | 75 | .maxlen = sizeof(unsigned), |
76 | .mode = 0644, | 76 | .mode = 0644, |
77 | .proc_handler = &proc_dointvec_minmax, | 77 | .proc_handler = proc_dointvec_minmax, |
78 | .extra1 = (void *) &slow_work_min_vslow, | 78 | .extra1 = (void *) &slow_work_min_vslow, |
79 | .extra2 = (void *) &slow_work_max_vslow, | 79 | .extra2 = (void *) &slow_work_max_vslow, |
80 | }, | 80 | }, |