]> git.karo-electronics.de Git - linux-beck.git/commit
sysctl: remove "struct file *" argument of ->proc_handler
authorAlexey Dobriyan <adobriyan@gmail.com>
Wed, 23 Sep 2009 22:57:19 +0000 (15:57 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 24 Sep 2009 14:21:04 +0000 (07:21 -0700)
commit8d65af789f3e2cf4cfbdbf71a0f7a61ebcd41d38
tree121df3bfffc7853ac6d2c514ad514d4a748a0933
parentc0d0787b6d47d9f4d5e8bd321921104e854a9135
sysctl: remove "struct file *" argument of ->proc_handler

It's unused.

It isn't needed -- read or write flag is already passed and sysctl
shouldn't care about the rest.

It _was_ used in two places at arch/frv for some reason.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Cc: David Howells <dhowells@redhat.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: James Morris <jmorris@namei.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
60 files changed:
arch/frv/kernel/pm.c
arch/mips/lasat/sysctl.c
arch/s390/appldata/appldata_base.c
arch/s390/kernel/debug.c
arch/s390/mm/cmm.c
arch/x86/include/asm/nmi.h
arch/x86/kernel/apic/nmi.c
arch/x86/kernel/vsyscall_64.c
drivers/cdrom/cdrom.c
drivers/char/random.c
drivers/net/wireless/arlan-proc.c
drivers/parport/procfs.c
fs/coda/coda_int.h
fs/drop_caches.c
fs/file_table.c
fs/proc/proc_sysctl.c
fs/xfs/linux-2.6/xfs_sysctl.c
include/linux/fs.h
include/linux/ftrace.h
include/linux/hugetlb.h
include/linux/mm.h
include/linux/mmzone.h
include/linux/sched.h
include/linux/security.h
include/linux/swap.h
include/linux/sysctl.h
include/linux/writeback.h
include/net/ip.h
include/net/ndisc.h
ipc/ipc_sysctl.c
ipc/mq_sysctl.c
kernel/hung_task.c
kernel/sched.c
kernel/sched_fair.c
kernel/slow-work.c
kernel/softlockup.c
kernel/sysctl.c
kernel/trace/ftrace.c
kernel/trace/trace_stack.c
kernel/utsname_sysctl.c
mm/hugetlb.c
mm/page-writeback.c
mm/page_alloc.c
mm/vmscan.c
net/bridge/br_netfilter.c
net/decnet/dn_dev.c
net/decnet/sysctl_net_decnet.c
net/ipv4/devinet.c
net/ipv4/route.c
net/ipv4/sysctl_net_ipv4.c
net/ipv6/addrconf.c
net/ipv6/ndisc.c
net/ipv6/route.c
net/irda/irsysctl.c
net/netfilter/ipvs/ip_vs_ctl.c
net/netfilter/nf_log.c
net/phonet/sysctl.c
net/sunrpc/sysctl.c
net/sunrpc/xprtrdma/svc_rdma.c
security/min_addr.c