diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2008-04-29 10:02:41 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-29 17:06:23 +0200 |
commit | 2c4c7155f25192da3511a6c911db4d08102d36c4 (patch) | |
tree | ed38f2fec221203f4baf078fb38454e14d6e33f9 /fs/proc/proc_sysctl.c | |
parent | sysctl: merge equal proc_sys_read and proc_sys_write (diff) | |
download | linux-2c4c7155f25192da3511a6c911db4d08102d36c4.tar.xz linux-2c4c7155f25192da3511a6c911db4d08102d36c4.zip |
sysctl: clean from unneeded extern and forward declarations
The do_sysctl_strategy isn't used outside kernel/sysctl.c, so this can be
static and without a prototype in header.
Besides, move this one and parse_table() above their callers and drop the
forward declarations of the latter call.
One more "besides" - fix two checkpatch warnings: space before a ( and an
extra space at the end of a line.
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Acked-by: David S. Miller <davem@davemloft.net>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Alexey Dobriyan <adobriyan@sw.ru>
Cc: Denis V. Lunev <den@openvz.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/proc/proc_sysctl.c')
0 files changed, 0 insertions, 0 deletions