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 /drivers/md/md.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 'drivers/md/md.c')
-rw-r--r-- | drivers/md/md.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c index 1d529551e944..1d7b9a23c765 100644 --- a/drivers/md/md.c +++ b/drivers/md/md.c | |||
@@ -102,14 +102,14 @@ static ctl_table raid_table[] = { | |||
102 | .data = &sysctl_speed_limit_min, | 102 | .data = &sysctl_speed_limit_min, |
103 | .maxlen = sizeof(int), | 103 | .maxlen = sizeof(int), |
104 | .mode = S_IRUGO|S_IWUSR, | 104 | .mode = S_IRUGO|S_IWUSR, |
105 | .proc_handler = &proc_dointvec, | 105 | .proc_handler = proc_dointvec, |
106 | }, | 106 | }, |
107 | { | 107 | { |
108 | .procname = "speed_limit_max", | 108 | .procname = "speed_limit_max", |
109 | .data = &sysctl_speed_limit_max, | 109 | .data = &sysctl_speed_limit_max, |
110 | .maxlen = sizeof(int), | 110 | .maxlen = sizeof(int), |
111 | .mode = S_IRUGO|S_IWUSR, | 111 | .mode = S_IRUGO|S_IWUSR, |
112 | .proc_handler = &proc_dointvec, | 112 | .proc_handler = proc_dointvec, |
113 | }, | 113 | }, |
114 | { } | 114 | { } |
115 | }; | 115 | }; |