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/kernel/isa.c | |
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/kernel/isa.c')
-rw-r--r-- | arch/arm/kernel/isa.c | 6 |
1 files changed, 3 insertions, 3 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 | ||