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/decnet | |
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/decnet')
-rw-r--r-- | net/decnet/dn_dev.c | 6 | ||||
-rw-r--r-- | net/decnet/sysctl_net_decnet.c | 6 |
2 files changed, 4 insertions, 8 deletions
diff --git a/net/decnet/dn_dev.c b/net/decnet/dn_dev.c index 0b9d4c955154..fc6f3c023a54 100644 --- a/net/decnet/dn_dev.c +++ b/net/decnet/dn_dev.c | |||
@@ -167,8 +167,7 @@ static int dn_forwarding_proc(ctl_table *, int, struct file *, | |||
167 | void __user *, size_t *, loff_t *); | 167 | void __user *, size_t *, loff_t *); |
168 | static int dn_forwarding_sysctl(ctl_table *table, int __user *name, int nlen, | 168 | static int dn_forwarding_sysctl(ctl_table *table, int __user *name, int nlen, |
169 | void __user *oldval, size_t __user *oldlenp, | 169 | void __user *oldval, size_t __user *oldlenp, |
170 | void __user *newval, size_t newlen, | 170 | void __user *newval, size_t newlen); |
171 | void **context); | ||
172 | 171 | ||
173 | static struct dn_dev_sysctl_table { | 172 | static struct dn_dev_sysctl_table { |
174 | struct ctl_table_header *sysctl_header; | 173 | struct ctl_table_header *sysctl_header; |
@@ -347,8 +346,7 @@ static int dn_forwarding_proc(ctl_table *table, int write, | |||
347 | 346 | ||
348 | static int dn_forwarding_sysctl(ctl_table *table, int __user *name, int nlen, | 347 | static int dn_forwarding_sysctl(ctl_table *table, int __user *name, int nlen, |
349 | void __user *oldval, size_t __user *oldlenp, | 348 | void __user *oldval, size_t __user *oldlenp, |
350 | void __user *newval, size_t newlen, | 349 | void __user *newval, size_t newlen) |
351 | void **context) | ||
352 | { | 350 | { |
353 | #ifdef CONFIG_DECNET_ROUTER | 351 | #ifdef CONFIG_DECNET_ROUTER |
354 | struct net_device *dev = table->extra1; | 352 | struct net_device *dev = table->extra1; |
diff --git a/net/decnet/sysctl_net_decnet.c b/net/decnet/sysctl_net_decnet.c index e246f054f368..a4065eb1341e 100644 --- a/net/decnet/sysctl_net_decnet.c +++ b/net/decnet/sysctl_net_decnet.c | |||
@@ -134,8 +134,7 @@ static int parse_addr(__le16 *addr, char *str) | |||
134 | 134 | ||
135 | static int dn_node_address_strategy(ctl_table *table, int __user *name, int nlen, | 135 | static int dn_node_address_strategy(ctl_table *table, int __user *name, int nlen, |
136 | void __user *oldval, size_t __user *oldlenp, | 136 | void __user *oldval, size_t __user *oldlenp, |
137 | void __user *newval, size_t newlen, | 137 | void __user *newval, size_t newlen) |
138 | void **context) | ||
139 | { | 138 | { |
140 | size_t len; | 139 | size_t len; |
141 | __le16 addr; | 140 | __le16 addr; |
@@ -220,8 +219,7 @@ static int dn_node_address_handler(ctl_table *table, int write, | |||
220 | 219 | ||
221 | static int dn_def_dev_strategy(ctl_table *table, int __user *name, int nlen, | 220 | static int dn_def_dev_strategy(ctl_table *table, int __user *name, int nlen, |
222 | void __user *oldval, size_t __user *oldlenp, | 221 | void __user *oldval, size_t __user *oldlenp, |
223 | void __user *newval, size_t newlen, | 222 | void __user *newval, size_t newlen) |
224 | void **context) | ||
225 | { | 223 | { |
226 | size_t len; | 224 | size_t len; |
227 | struct net_device *dev; | 225 | struct net_device *dev; |