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>
This commit is contained in:
@ -74,7 +74,7 @@ ctl_table slow_work_sysctls[] = {
|
||||
.data = &vslow_work_proportion,
|
||||
.maxlen = sizeof(unsigned),
|
||||
.mode = 0644,
|
||||
.proc_handler = &proc_dointvec_minmax,
|
||||
.proc_handler = proc_dointvec_minmax,
|
||||
.extra1 = (void *) &slow_work_min_vslow,
|
||||
.extra2 = (void *) &slow_work_max_vslow,
|
||||
},
|
||||
|
Reference in New Issue
Block a user