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>
Цей коміт міститься в:
@@ -40,7 +40,7 @@ static ctl_table ntfs_sysctls[] = {
|
||||
.data = &debug_msgs, /* Data pointer and size. */
|
||||
.maxlen = sizeof(debug_msgs),
|
||||
.mode = 0644, /* Mode, proc handler. */
|
||||
.proc_handler = &proc_dointvec
|
||||
.proc_handler = proc_dointvec
|
||||
},
|
||||
{}
|
||||
};
|
||||
|
Посилання в новій задачі
Заблокувати користувача