[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>
This commit is contained in:
committed by
Linus Torvalds
parent
98d7340c36
commit
1f29bcd739
@@ -1667,8 +1667,7 @@ int ndisc_ifinfo_sysctl_change(struct ctl_table *ctl, int write, struct file * f
|
||||
static int ndisc_ifinfo_sysctl_strategy(ctl_table *ctl, int __user *name,
|
||||
int nlen, void __user *oldval,
|
||||
size_t __user *oldlenp,
|
||||
void __user *newval, size_t newlen,
|
||||
void **context)
|
||||
void __user *newval, size_t newlen)
|
||||
{
|
||||
struct net_device *dev = ctl->extra1;
|
||||
struct inet6_dev *idev;
|
||||
@@ -1681,14 +1680,12 @@ static int ndisc_ifinfo_sysctl_strategy(ctl_table *ctl, int __user *name,
|
||||
switch (ctl->ctl_name) {
|
||||
case NET_NEIGH_REACHABLE_TIME:
|
||||
ret = sysctl_jiffies(ctl, name, nlen,
|
||||
oldval, oldlenp, newval, newlen,
|
||||
context);
|
||||
oldval, oldlenp, newval, newlen);
|
||||
break;
|
||||
case NET_NEIGH_RETRANS_TIME_MS:
|
||||
case NET_NEIGH_REACHABLE_TIME_MS:
|
||||
ret = sysctl_ms_jiffies(ctl, name, nlen,
|
||||
oldval, oldlenp, newval, newlen,
|
||||
context);
|
||||
oldval, oldlenp, newval, newlen);
|
||||
break;
|
||||
default:
|
||||
ret = 0;
|
||||
|
Reference in New Issue
Block a user