aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64/kernel/perfmon.c
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2009-11-16 06:11:48 -0500
committerEric W. Biederman <ebiederm@xmission.com>2009-11-18 11:37:40 -0500
commit6d4561110a3e9fa742aeec6717248a491dfb1878 (patch)
tree689e2abf19940416ce597ba56ed31026ff59bd21 /arch/ia64/kernel/perfmon.c
parent86926d0096279b9739ceeff40f68d3c33b9119a9 (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 'arch/ia64/kernel/perfmon.c')
-rw-r--r--arch/ia64/kernel/perfmon.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/ia64/kernel/perfmon.c b/arch/ia64/kernel/perfmon.c
index ca30b364640..402698b6689 100644
--- a/arch/ia64/kernel/perfmon.c
+++ b/arch/ia64/kernel/perfmon.c
@@ -526,28 +526,28 @@ static ctl_table pfm_ctl_table[]={
526 .data = &pfm_sysctl.debug, 526 .data = &pfm_sysctl.debug,
527 .maxlen = sizeof(int), 527 .maxlen = sizeof(int),
528 .mode = 0666, 528 .mode = 0666,
529 .proc_handler = &proc_dointvec, 529 .proc_handler = proc_dointvec,
530 }, 530 },
531 { 531 {
532 .procname = "debug_ovfl", 532 .procname = "debug_ovfl",
533 .data = &pfm_sysctl.debug_ovfl, 533 .data = &pfm_sysctl.debug_ovfl,
534 .maxlen = sizeof(int), 534 .maxlen = sizeof(int),
535 .mode = 0666, 535 .mode = 0666,
536 .proc_handler = &proc_dointvec, 536 .proc_handler = proc_dointvec,
537 }, 537 },
538 { 538 {
539 .procname = "fastctxsw", 539 .procname = "fastctxsw",
540 .data = &pfm_sysctl.fastctxsw, 540 .data = &pfm_sysctl.fastctxsw,
541 .maxlen = sizeof(int), 541 .maxlen = sizeof(int),
542 .mode = 0600, 542 .mode = 0600,
543 .proc_handler = &proc_dointvec, 543 .proc_handler = proc_dointvec,
544 }, 544 },
545 { 545 {
546 .procname = "expert_mode", 546 .procname = "expert_mode",
547 .data = &pfm_sysctl.expert_mode, 547 .data = &pfm_sysctl.expert_mode,
548 .maxlen = sizeof(int), 548 .maxlen = sizeof(int),
549 .mode = 0600, 549 .mode = 0600,
550 .proc_handler = &proc_dointvec, 550 .proc_handler = proc_dointvec,
551 }, 551 },
552 {} 552 {}
553}; 553};