[PATCH -next] proc_sysctl: convert use of typedef ctl_table to struct ctl_table
From: Joe Perches
Date: Mon Jun 09 2014 - 15:01:40 EST
This typedef is unnecessary and should just be removed.
Remove the last actual use of typedef ctl_table.
Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>
---
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)
{
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/