Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e5eea098 authored by Joe Perches's avatar Joe Perches Committed by Linus Torvalds
Browse files

sysctl: remove typedef ctl_table



Remove the final user, and the typedef itself.

Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 1b9c53e8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)
{
+0 −2
Original line number Diff line number Diff line
@@ -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);