]> git.baikalelectronics.ru Git - kernel.git/commitdiff
coda: convert use of typedef ctl_table to struct ctl_table
authorJoe Perches <joe@perches.com>
Fri, 6 Jun 2014 21:38:00 +0000 (14:38 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 6 Jun 2014 23:08:16 +0000 (16:08 -0700)
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/coda/sysctl.c

index af56ad56a89ae68982036755438e3a2e22e9798f..34218a8a28cd9c9aa5895e9b773044b6850696ea 100644 (file)
@@ -14,7 +14,7 @@
 #ifdef CONFIG_SYSCTL
 static struct ctl_table_header *fs_table_header;
 
-static ctl_table coda_table[] = {
+static struct ctl_table coda_table[] = {
        {
                .procname       = "timeout",
                .data           = &coda_timeout,
@@ -39,7 +39,7 @@ static ctl_table coda_table[] = {
        {}
 };
 
-static ctl_table fs_table[] = {
+static struct ctl_table fs_table[] = {
        {
                .procname       = "coda",
                .mode           = 0555,