]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
fscache: convert use of typedef ctl_table to struct ctl_table
authorJoe Perches <joe@perches.com>
Sat, 17 May 2014 13:19:18 +0000 (23:19 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 19 May 2014 07:34:55 +0000 (17:34 +1000)
This typedef is unnecessary and should just be removed.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/fscache/main.c

index acd4bf1fc2779a43fece1e33e94fa5865106e6d1..63f868e869b98e86dafd1637f380382a96c66aef 100644 (file)
@@ -67,7 +67,7 @@ static int fscache_max_active_sysctl(struct ctl_table *table, int write,
        return ret;
 }
 
-ctl_table fscache_sysctls[] = {
+struct ctl_table fscache_sysctls[] = {
        {
                .procname       = "object_max_active",
                .data           = &fscache_object_max_active,
@@ -87,7 +87,7 @@ ctl_table fscache_sysctls[] = {
        {}
 };
 
-ctl_table fscache_sysctls_root[] = {
+struct ctl_table fscache_sysctls_root[] = {
        {
                .procname       = "fscache",
                .mode           = 0555,