diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2009-11-16 03:11:48 -0800 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2009-11-18 08:37:40 -0800 |
commit | 6d4561110a3e9fa742aeec6717248a491dfb1878 (patch) | |
tree | 689e2abf19940416ce597ba56ed31026ff59bd21 /arch/frv/kernel/sysctl.c | |
parent | 86926d0096279b9739ceeff40f68d3c33b9119a9 (diff) | |
download | linux-stable-6d4561110a3e9fa742aeec6717248a491dfb1878.tar.gz linux-stable-6d4561110a3e9fa742aeec6717248a491dfb1878.tar.bz2 linux-stable-6d4561110a3e9fa742aeec6717248a491dfb1878.zip |
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/frv/kernel/sysctl.c')
-rw-r--r-- | arch/frv/kernel/sysctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/frv/kernel/sysctl.c b/arch/frv/kernel/sysctl.c index b30a4f2cda3e..035516cb7a97 100644 --- a/arch/frv/kernel/sysctl.c +++ b/arch/frv/kernel/sysctl.c @@ -180,7 +180,7 @@ static struct ctl_table frv_table[] = .data = NULL, .maxlen = 0, .mode = 0644, - .proc_handler = &procctl_frv_cachemode, + .proc_handler = procctl_frv_cachemode, }, #ifdef CONFIG_MMU { @@ -188,7 +188,7 @@ static struct ctl_table frv_table[] = .data = NULL, .maxlen = 0, .mode = 0644, - .proc_handler = &procctl_frv_pin_cxnr + .proc_handler = procctl_frv_pin_cxnr }, #endif {} |