diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2006-12-10 05:19:10 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-10 12:55:41 -0500 |
commit | 1f29bcd739972f71f2fd5d5d265daf3e1208fa5e (patch) | |
tree | 96e20e4d0a077d813d8625d6919aba9bd0b5ed13 /net/ipv6 | |
parent | 98d7340c360993fdd703609ff7462051e03cc2fb (diff) |
[PATCH] sysctl: remove unused "context" param
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Andi Kleen <ak@suse.de>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: David Howells <dhowells@redhat.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'net/ipv6')
-rw-r--r-- | net/ipv6/addrconf.c | 3 | ||||
-rw-r--r-- | net/ipv6/ndisc.c | 9 |
2 files changed, 4 insertions, 8 deletions
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c index a5e8d207a51b..9b0a90643151 100644 --- a/net/ipv6/addrconf.c +++ b/net/ipv6/addrconf.c | |||
@@ -3656,8 +3656,7 @@ static int addrconf_sysctl_forward_strategy(ctl_table *table, | |||
3656 | int __user *name, int nlen, | 3656 | int __user *name, int nlen, |
3657 | void __user *oldval, | 3657 | void __user *oldval, |
3658 | size_t __user *oldlenp, | 3658 | size_t __user *oldlenp, |
3659 | void __user *newval, size_t newlen, | 3659 | void __user *newval, size_t newlen) |
3660 | void **context) | ||
3661 | { | 3660 | { |
3662 | int *valp = table->data; | 3661 | int *valp = table->data; |
3663 | int new; | 3662 | int new; |
diff --git a/net/ipv6/ndisc.c b/net/ipv6/ndisc.c index 56ea92837307..6a9f616de37d 100644 --- a/net/ipv6/ndisc.c +++ b/net/ipv6/ndisc.c | |||
@@ -1667,8 +1667,7 @@ int ndisc_ifinfo_sysctl_change(struct ctl_table *ctl, int write, struct file * f | |||
1667 | static int ndisc_ifinfo_sysctl_strategy(ctl_table *ctl, int __user *name, | 1667 | static int ndisc_ifinfo_sysctl_strategy(ctl_table *ctl, int __user *name, |
1668 | int nlen, void __user *oldval, | 1668 | int nlen, void __user *oldval, |
1669 | size_t __user *oldlenp, | 1669 | size_t __user *oldlenp, |
1670 | void __user *newval, size_t newlen, | 1670 | void __user *newval, size_t newlen) |
1671 | void **context) | ||
1672 | { | 1671 | { |
1673 | struct net_device *dev = ctl->extra1; | 1672 | struct net_device *dev = ctl->extra1; |
1674 | struct inet6_dev *idev; | 1673 | struct inet6_dev *idev; |
@@ -1681,14 +1680,12 @@ static int ndisc_ifinfo_sysctl_strategy(ctl_table *ctl, int __user *name, | |||
1681 | switch (ctl->ctl_name) { | 1680 | switch (ctl->ctl_name) { |
1682 | case NET_NEIGH_REACHABLE_TIME: | 1681 | case NET_NEIGH_REACHABLE_TIME: |
1683 | ret = sysctl_jiffies(ctl, name, nlen, | 1682 | ret = sysctl_jiffies(ctl, name, nlen, |
1684 | oldval, oldlenp, newval, newlen, | 1683 | oldval, oldlenp, newval, newlen); |
1685 | context); | ||
1686 | break; | 1684 | break; |
1687 | case NET_NEIGH_RETRANS_TIME_MS: | 1685 | case NET_NEIGH_RETRANS_TIME_MS: |
1688 | case NET_NEIGH_REACHABLE_TIME_MS: | 1686 | case NET_NEIGH_REACHABLE_TIME_MS: |
1689 | ret = sysctl_ms_jiffies(ctl, name, nlen, | 1687 | ret = sysctl_ms_jiffies(ctl, name, nlen, |
1690 | oldval, oldlenp, newval, newlen, | 1688 | oldval, oldlenp, newval, newlen); |
1691 | context); | ||
1692 | break; | 1689 | break; |
1693 | default: | 1690 | default: |
1694 | ret = 0; | 1691 | ret = 0; |