]> git.baikalelectronics.ru Git - kernel.git/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)
commit4d7faf71b2cfc0cc0a2c10e2bffd2965a24da399
tree279c6bda7b3ad8bc8cd8099681a93d59fd193f26
parentc0293e317b1985017e62ee7229b33ac618d78aa6
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