aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/pty.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 /drivers/char/pty.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 'drivers/char/pty.c')
-rw-r--r--drivers/char/pty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/pty.c b/drivers/char/pty.c
index d516e9ced3c2..d86c0bc05c1c 100644
--- a/drivers/char/pty.c
+++ b/drivers/char/pty.c
@@ -435,7 +435,7 @@ static struct ctl_table pty_table[] = {
435 .maxlen = sizeof(int), 435 .maxlen = sizeof(int),
436 .mode = 0644, 436 .mode = 0644,
437 .data = &pty_limit, 437 .data = &pty_limit,
438 .proc_handler = &proc_dointvec_minmax, 438 .proc_handler = proc_dointvec_minmax,
439 .extra1 = &pty_limit_min, 439 .extra1 = &pty_limit_min,
440 .extra2 = &pty_limit_max, 440 .extra2 = &pty_limit_max,
441 }, { 441 }, {
@@ -443,7 +443,7 @@ static struct ctl_table pty_table[] = {
443 .maxlen = sizeof(int), 443 .maxlen = sizeof(int),
444 .mode = 0444, 444 .mode = 0444,
445 .data = &pty_count, 445 .data = &pty_count,
446 .proc_handler = &proc_dointvec, 446 .proc_handler = proc_dointvec,
447 }, 447 },
448 {} 448 {}
449}; 449};