From: Greg Kroah-Hartman Date: Sat, 12 Jul 2014 06:05:14 +0000 (-0700) Subject: staging: lustre: remove unneeded DECLARE_LL_PROC_PPOS_DECL macro X-Git-Tag: cleanup-for-v3.18~125^2~877 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30f38472f75b5e9a9d55269bdb14da9c3cc45586;p=pandora-kernel.git staging: lustre: remove unneeded DECLARE_LL_PROC_PPOS_DECL macro It did nothing, so remove it. 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 b24bc6b18839..1069c33433e9 100644 --- a/drivers/staging/lustre/include/linux/libcfs/linux/linux-prim.h +++ b/drivers/staging/lustre/include/linux/libcfs/linux/linux-prim.h @@ -71,8 +71,6 @@ typedef struct ctl_table_header ctl_table_header_t; static int \ LL_PROC_PROTO(name) \ { \ - DECLARE_LL_PROC_PPOS_DECL; \ - \ return proc_call_handler(table->data, write, \ ppos, buffer, lenp, \ __##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 c6fa7ca4c87b..eae12a6baed0 100644 --- a/drivers/staging/lustre/include/linux/libcfs/linux/portals_compat25.h +++ b/drivers/staging/lustre/include/linux/libcfs/linux/portals_compat25.h @@ -88,7 +88,6 @@ #define LL_PROC_PROTO(name) \ name(ctl_table_t *table, int write, \ void __user *buffer, size_t *lenp, loff_t *ppos) -#define DECLARE_LL_PROC_PPOS_DECL /* helper for sysctl handlers */ int proc_call_handler(void *data, int write, Reading git-diff-tree failed