]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
sysctl: remove typedef ctl_table
authorJoe Perches <joe@perches.com>
Fri, 8 Aug 2014 21:22:16 +0000 (14:22 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 8 Aug 2014 22:57:24 +0000 (15:57 -0700)
Remove the final user, and the typedef itself.

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/proc/proc_sysctl.c
include/linux/sysctl.h

index 71290463a1d3fa87a5132e21615792fe7fbaf9f4..f92d5dd578a4a5289aab9e29dcd37b09ee775c46 100644 (file)
@@ -632,7 +632,7 @@ out:
        return ret;
 }
 
-static int scan(struct ctl_table_header *head, ctl_table *table,
+static int scan(struct ctl_table_header *head, struct ctl_table *table,
                unsigned long *pos, struct file *file,
                struct dir_context *ctx)
 {
index 14a8ff2de11e54907ff63d20ee23c7d4c29896fa..b7361f831226d97bab5ff8b4c86d9252e972d877 100644 (file)
@@ -34,8 +34,6 @@ struct ctl_table_root;
 struct ctl_table_header;
 struct ctl_dir;
 
-typedef struct ctl_table ctl_table;
-
 typedef int proc_handler (struct ctl_table *ctl, int write,
                          void __user *buffer, size_t *lenp, loff_t *ppos);