[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
@ -223,7 +223,7 @@ static int cmode_procctl(ctl_table *ctl, int write, struct file *filp,
|
||||
|
||||
static int cmode_sysctl(ctl_table *table, 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)
|
||||
{
|
||||
if (oldval && oldlenp) {
|
||||
size_t oldlen;
|
||||
@ -326,7 +326,7 @@ static int p0_procctl(ctl_table *ctl, int write, struct file *filp,
|
||||
|
||||
static int p0_sysctl(ctl_table *table, 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)
|
||||
{
|
||||
if (oldval && oldlenp) {
|
||||
size_t oldlen;
|
||||
@ -370,7 +370,7 @@ static int cm_procctl(ctl_table *ctl, int write, struct file *filp,
|
||||
|
||||
static int cm_sysctl(ctl_table *table, 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)
|
||||
{
|
||||
if (oldval && oldlenp) {
|
||||
size_t oldlen;
|
||||
|
Reference in New Issue
Block a user