]> err.no Git - linux-2.6/commit
sysctl core: Stop using the unnecessary ctl_table typedef
authorEric W. Biederman <ebiederm@xmission.com>
Thu, 18 Oct 2007 10:05:22 +0000 (03:05 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 18 Oct 2007 21:37:22 +0000 (14:37 -0700)
commitd8217f076b73441dd3869c0c880df000655084cc
tree279c6bda7b3ad8bc8cd8099681a93d59fd193f26
parentd32c4f2626acc385d5187bd5c0c24f442328dc60
sysctl core: Stop using the unnecessary ctl_table typedef

In sysctl.h the typedef struct ctl_table ctl_table violates coding style isn't
needed and is a bit of a nuisance because it makes it harder to recognize
ctl_table is a type name.

So this patch removes it from the generic sysctl code.  Hopefully I will have
enough energy to send the rest of my patches will follow and to remove it from
the rest of the kernel.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Cc: Alexey Dobriyan <adobriyan@sw.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/sysctl.h
kernel/sysctl.c