lkml.org 
[lkml]   [2014]   [Jun]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH -next] proc_sysctl: convert use of typedef ctl_table to struct ctl_table
From
Date
This typedef is unnecessary and should just be removed.

Remove the last actual use of typedef ctl_table.

Signed-off-by: Joe Perches <joe@perches.com>
---
On Mon, 2014-06-09 at 10:51 -0700, Joe Perches wrote:
> All the uses have been removed so remove the typedef.

Not so fast buckwheat.
I was showing off my obviously insufficient grep skills...

There's still this one.

These patches need reordering so that this one is first...

fs/proc/proc_sysctl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/proc/proc_sysctl.c b/fs/proc/proc_sysctl.c
index 7129046..f92d5dd 100644
--- a/fs/proc/proc_sysctl.c
+++ b/fs/proc/proc_sysctl.c
@@ -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)
{



\
 
 \ /
  Last update: 2014-06-09 21:21    [W:0.057 / U:0.336 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site