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/arm | |
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/arm')
-rw-r--r-- | arch/arm/kernel/isa.c | 6 | ||||
-rw-r--r-- | arch/arm/mach-bcmring/arch.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/kernel/isa.c b/arch/arm/kernel/isa.c index 738dfcc658ca..346485910732 100644 --- a/arch/arm/kernel/isa.c +++ b/arch/arm/kernel/isa.c | |||
@@ -26,19 +26,19 @@ static ctl_table ctl_isa_vars[4] = { | |||
26 | .data = &isa_membase, | 26 | .data = &isa_membase, |
27 | .maxlen = sizeof(isa_membase), | 27 | .maxlen = sizeof(isa_membase), |
28 | .mode = 0444, | 28 | .mode = 0444, |
29 | .proc_handler = &proc_dointvec, | 29 | .proc_handler = proc_dointvec, |
30 | }, { | 30 | }, { |
31 | .procname = "portbase", | 31 | .procname = "portbase", |
32 | .data = &isa_portbase, | 32 | .data = &isa_portbase, |
33 | .maxlen = sizeof(isa_portbase), | 33 | .maxlen = sizeof(isa_portbase), |
34 | .mode = 0444, | 34 | .mode = 0444, |
35 | .proc_handler = &proc_dointvec, | 35 | .proc_handler = proc_dointvec, |
36 | }, { | 36 | }, { |
37 | .procname = "portshift", | 37 | .procname = "portshift", |
38 | .data = &isa_portshift, | 38 | .data = &isa_portshift, |
39 | .maxlen = sizeof(isa_portshift), | 39 | .maxlen = sizeof(isa_portshift), |
40 | .mode = 0444, | 40 | .mode = 0444, |
41 | .proc_handler = &proc_dointvec, | 41 | .proc_handler = proc_dointvec, |
42 | }, {} | 42 | }, {} |
43 | }; | 43 | }; |
44 | 44 | ||
diff --git a/arch/arm/mach-bcmring/arch.c b/arch/arm/mach-bcmring/arch.c index f3c11199707a..fbe6fa02c882 100644 --- a/arch/arm/mach-bcmring/arch.c +++ b/arch/arm/mach-bcmring/arch.c | |||
@@ -58,7 +58,7 @@ static struct ctl_table bcmring_sysctl_warm_reboot[] = { | |||
58 | .data = &bcmring_arch_warm_reboot, | 58 | .data = &bcmring_arch_warm_reboot, |
59 | .maxlen = sizeof(int), | 59 | .maxlen = sizeof(int), |
60 | .mode = 0644, | 60 | .mode = 0644, |
61 | .proc_handler = &proc_dointvec}, | 61 | .proc_handler = proc_dointvec}, |
62 | {} | 62 | {} |
63 | }; | 63 | }; |
64 | 64 | ||