summaryrefslogtreecommitdiffstats
path: root/crypto/proc.c
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2009-11-16 12:11:48 +0100
committerEric W. Biederman <ebiederm@xmission.com>2009-11-18 17:37:40 +0100
commit6d4561110a3e9fa742aeec6717248a491dfb1878 (patch)
tree689e2abf19940416ce597ba56ed31026ff59bd21 /crypto/proc.c
parentsysctl: Remove CTL_NONE and CTL_UNNUMBERED (diff)
downloadlinux-6d4561110a3e9fa742aeec6717248a491dfb1878.tar.xz
linux-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 'crypto/proc.c')
-rw-r--r--crypto/proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/proc.c b/crypto/proc.c
index fe95975fc533..1c38733c224d 100644
--- a/crypto/proc.c
+++ b/crypto/proc.c
@@ -29,7 +29,7 @@ static struct ctl_table crypto_sysctl_table[] = {
.data = &fips_enabled,
.maxlen = sizeof(int),
.mode = 0444,
- .proc_handler = &proc_dointvec
+ .proc_handler = proc_dointvec
},
{}
};