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 /arch/sh | |
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 'arch/sh')
-rw-r--r-- | arch/sh/kernel/traps_64.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/sh/kernel/traps_64.c b/arch/sh/kernel/traps_64.c index 080c8ee2d862..75c0cbe2eda0 100644 --- a/arch/sh/kernel/traps_64.c +++ b/arch/sh/kernel/traps_64.c | |||
@@ -881,21 +881,21 @@ static ctl_table unaligned_table[] = { | |||
881 | .data = &kernel_mode_unaligned_fixup_count, | 881 | .data = &kernel_mode_unaligned_fixup_count, |
882 | .maxlen = sizeof(int), | 882 | .maxlen = sizeof(int), |
883 | .mode = 0644, | 883 | .mode = 0644, |
884 | .proc_handler = &proc_dointvec | 884 | .proc_handler = proc_dointvec |
885 | }, | 885 | }, |
886 | { | 886 | { |
887 | .procname = "user_reports", | 887 | .procname = "user_reports", |
888 | .data = &user_mode_unaligned_fixup_count, | 888 | .data = &user_mode_unaligned_fixup_count, |
889 | .maxlen = sizeof(int), | 889 | .maxlen = sizeof(int), |
890 | .mode = 0644, | 890 | .mode = 0644, |
891 | .proc_handler = &proc_dointvec | 891 | .proc_handler = proc_dointvec |
892 | }, | 892 | }, |
893 | { | 893 | { |
894 | .procname = "user_enable", | 894 | .procname = "user_enable", |
895 | .data = &user_mode_unaligned_fixup_enable, | 895 | .data = &user_mode_unaligned_fixup_enable, |
896 | .maxlen = sizeof(int), | 896 | .maxlen = sizeof(int), |
897 | .mode = 0644, | 897 | .mode = 0644, |
898 | .proc_handler = &proc_dointvec}, | 898 | .proc_handler = proc_dointvec}, |
899 | {} | 899 | {} |
900 | }; | 900 | }; |
901 | 901 | ||