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>
This commit is contained in:
@@ -624,7 +624,7 @@ static ctl_table ocfs2_nm_table[] = {
|
||||
.data = ocfs2_hb_ctl_path,
|
||||
.maxlen = OCFS2_MAX_HB_CTL_PATH,
|
||||
.mode = 0644,
|
||||
.proc_handler = &proc_dostring,
|
||||
.proc_handler = proc_dostring,
|
||||
},
|
||||
{ }
|
||||
};
|
||||
|
Reference in New Issue
Block a user