From: NeilBrown Date: Mon, 21 May 2018 04:35:13 +0000 (+1000) Subject: staging: lustre: remove libcfs_all.h from includes lustre/lnet X-Git-Tag: v5.15~8661^2~95 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fd998c02dcfc01fdd27d1972833e950c77ff63b8;p=platform%2Fkernel%2Flinux-starfive.git staging: lustre: remove libcfs_all.h from includes lustre/lnet Some of these include files didn't need to include libcfs_all.h. A couple did so replace with just the base include files needed. Signed-off-by: NeilBrown Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/lustre/lnet/libcfs/tracefile.h b/drivers/staging/lustre/lnet/libcfs/tracefile.h index bbad074..0608240 100644 --- a/drivers/staging/lustre/lnet/libcfs/tracefile.h +++ b/drivers/staging/lustre/lnet/libcfs/tracefile.h @@ -34,7 +34,13 @@ #ifndef __LIBCFS_TRACEFILE_H__ #define __LIBCFS_TRACEFILE_H__ -#include +#include +#include +#include +#include +#include +#include +#include enum cfs_trace_buf_type { CFS_TCD_TYPE_PROC = 0, diff --git a/drivers/staging/lustre/lnet/selftest/conrpc.h b/drivers/staging/lustre/lnet/selftest/conrpc.h index 29e7437..ce2f92d 100644 --- a/drivers/staging/lustre/lnet/selftest/conrpc.h +++ b/drivers/staging/lustre/lnet/selftest/conrpc.h @@ -40,7 +40,6 @@ #ifndef __LST_CONRPC_H__ #define __LST_CONRPC_H__ -#include #include #include #include "rpc.h" diff --git a/drivers/staging/lustre/lnet/selftest/console.h b/drivers/staging/lustre/lnet/selftest/console.h index 59e5ff9..2826205 100644 --- a/drivers/staging/lustre/lnet/selftest/console.h +++ b/drivers/staging/lustre/lnet/selftest/console.h @@ -40,7 +40,6 @@ #ifndef __LST_CONSOLE_H__ #define __LST_CONSOLE_H__ -#include #include #include #include "selftest.h" diff --git a/drivers/staging/lustre/lnet/selftest/selftest.h b/drivers/staging/lustre/lnet/selftest/selftest.h index adf1851..8737fa9 100644 --- a/drivers/staging/lustre/lnet/selftest/selftest.h +++ b/drivers/staging/lustre/lnet/selftest/selftest.h @@ -39,7 +39,6 @@ #define LNET_ONLY -#include #include #include #include