From: Greg Kroah-Hartman Date: Sat, 12 Jul 2014 06:38:41 +0000 (-0700) Subject: staging: lustre: remove ctl_table typedefs X-Git-Tag: cleanup-for-v3.18~125^2~870 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=691bc0eb299e4c106e55a2d814ae719658f55816;p=pandora-kernel.git staging: lustre: remove ctl_table typedefs No need for these, just use the "real" struct the kernel provides. Cc: Andreas Dilger Cc: Oleg Drokin Cc: hpdd-discuss Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/lustre/include/linux/libcfs/linux/linux-prim.h b/drivers/staging/lustre/include/linux/libcfs/linux/linux-prim.h index 1069c33433e9..8125980089e8 100644 --- a/drivers/staging/lustre/include/linux/libcfs/linux/linux-prim.h +++ b/drivers/staging/lustre/include/linux/libcfs/linux/linux-prim.h @@ -64,9 +64,6 @@ /* * Sysctl register */ -typedef struct ctl_table ctl_table_t; -typedef struct ctl_table_header ctl_table_header_t; - #define DECLARE_PROC_HANDLER(name) \ static int \ LL_PROC_PROTO(name) \ diff --git a/drivers/staging/lustre/include/linux/libcfs/linux/portals_compat25.h b/drivers/staging/lustre/include/linux/libcfs/linux/portals_compat25.h index eae12a6baed0..192ad083931a 100644 --- a/drivers/staging/lustre/include/linux/libcfs/linux/portals_compat25.h +++ b/drivers/staging/lustre/include/linux/libcfs/linux/portals_compat25.h @@ -86,7 +86,7 @@ #define ll_proc_dostring(table, write, filp, buffer, lenp, ppos) \ proc_dostring(table, write, buffer, lenp, ppos); #define LL_PROC_PROTO(name) \ - name(ctl_table_t *table, int write, \ + name(struct ctl_table *table, int write, \ void __user *buffer, size_t *lenp, loff_t *ppos) /* helper for sysctl handlers */ Reading git-diff-tree failed