mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
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 <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Joe Perches <[email protected]> Signed-off-by: Eric W. Biederman <[email protected]>
This commit is contained in:
parent
86926d0096
commit
6d4561110a
45 changed files with 339 additions and 339 deletions
|
|
@ -93,7 +93,7 @@ static ctl_table xpc_sys_xpc_hb_dir[] = {
|
|||
.data = &xpc_hb_interval,
|
||||
.maxlen = sizeof(int),
|
||||
.mode = 0644,
|
||||
.proc_handler = &proc_dointvec_minmax,
|
||||
.proc_handler = proc_dointvec_minmax,
|
||||
.extra1 = &xpc_hb_min_interval,
|
||||
.extra2 = &xpc_hb_max_interval},
|
||||
{
|
||||
|
|
@ -101,7 +101,7 @@ static ctl_table xpc_sys_xpc_hb_dir[] = {
|
|||
.data = &xpc_hb_check_interval,
|
||||
.maxlen = sizeof(int),
|
||||
.mode = 0644,
|
||||
.proc_handler = &proc_dointvec_minmax,
|
||||
.proc_handler = proc_dointvec_minmax,
|
||||
.extra1 = &xpc_hb_check_min_interval,
|
||||
.extra2 = &xpc_hb_check_max_interval},
|
||||
{}
|
||||
|
|
@ -116,7 +116,7 @@ static ctl_table xpc_sys_xpc_dir[] = {
|
|||
.data = &xpc_disengage_timelimit,
|
||||
.maxlen = sizeof(int),
|
||||
.mode = 0644,
|
||||
.proc_handler = &proc_dointvec_minmax,
|
||||
.proc_handler = proc_dointvec_minmax,
|
||||
.extra1 = &xpc_disengage_min_timelimit,
|
||||
.extra2 = &xpc_disengage_max_timelimit},
|
||||
{}
|
||||
|
|
|
|||
Loading…
Reference in a new issue