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 /drivers/misc | |
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 'drivers/misc')
-rw-r--r-- | drivers/misc/sgi-xp/xpc_main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/misc/sgi-xp/xpc_main.c b/drivers/misc/sgi-xp/xpc_main.c index ce98b9373be7..832ed4c88cf7 100644 --- a/drivers/misc/sgi-xp/xpc_main.c +++ b/drivers/misc/sgi-xp/xpc_main.c | |||
@@ -93,7 +93,7 @@ static ctl_table xpc_sys_xpc_hb_dir[] = { | |||
93 | .data = &xpc_hb_interval, | 93 | .data = &xpc_hb_interval, |
94 | .maxlen = sizeof(int), | 94 | .maxlen = sizeof(int), |
95 | .mode = 0644, | 95 | .mode = 0644, |
96 | .proc_handler = &proc_dointvec_minmax, | 96 | .proc_handler = proc_dointvec_minmax, |
97 | .extra1 = &xpc_hb_min_interval, | 97 | .extra1 = &xpc_hb_min_interval, |
98 | .extra2 = &xpc_hb_max_interval}, | 98 | .extra2 = &xpc_hb_max_interval}, |
99 | { | 99 | { |
@@ -101,7 +101,7 @@ static ctl_table xpc_sys_xpc_hb_dir[] = { | |||
101 | .data = &xpc_hb_check_interval, | 101 | .data = &xpc_hb_check_interval, |
102 | .maxlen = sizeof(int), | 102 | .maxlen = sizeof(int), |
103 | .mode = 0644, | 103 | .mode = 0644, |
104 | .proc_handler = &proc_dointvec_minmax, | 104 | .proc_handler = proc_dointvec_minmax, |
105 | .extra1 = &xpc_hb_check_min_interval, | 105 | .extra1 = &xpc_hb_check_min_interval, |
106 | .extra2 = &xpc_hb_check_max_interval}, | 106 | .extra2 = &xpc_hb_check_max_interval}, |
107 | {} | 107 | {} |
@@ -116,7 +116,7 @@ static ctl_table xpc_sys_xpc_dir[] = { | |||
116 | .data = &xpc_disengage_timelimit, | 116 | .data = &xpc_disengage_timelimit, |
117 | .maxlen = sizeof(int), | 117 | .maxlen = sizeof(int), |
118 | .mode = 0644, | 118 | .mode = 0644, |
119 | .proc_handler = &proc_dointvec_minmax, | 119 | .proc_handler = proc_dointvec_minmax, |
120 | .extra1 = &xpc_disengage_min_timelimit, | 120 | .extra1 = &xpc_disengage_min_timelimit, |
121 | .extra2 = &xpc_disengage_max_timelimit}, | 121 | .extra2 = &xpc_disengage_max_timelimit}, |
122 | {} | 122 | {} |