Re: [PATCH net-next] SUNRPC: remove duplicate include

From: Chuck Lever
Date: Wed Aug 19 2020 - 13:40:45 EST




> On Aug 18, 2020, at 10:49 PM, Wang Hai <wanghai38@xxxxxxxxxx> wrote:
>
> Remove linux/sunrpc/auth_gss.h which is included more than once
>
> Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
> Signed-off-by: Wang Hai <wanghai38@xxxxxxxxxx>

I've reviewed and compile-tested this, so no objection from me.

Since this duplicate was introduced in nfsd-5.9, I can take this
for an nfsd-5.9-rc pull, if there are no other objections.


> ---
> net/sunrpc/auth_gss/trace.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/net/sunrpc/auth_gss/trace.c b/net/sunrpc/auth_gss/trace.c
> index d26036a57443..76685abba60f 100644
> --- a/net/sunrpc/auth_gss/trace.c
> +++ b/net/sunrpc/auth_gss/trace.c
> @@ -9,7 +9,6 @@
> #include <linux/sunrpc/svc_xprt.h>
> #include <linux/sunrpc/auth_gss.h>
> #include <linux/sunrpc/gss_err.h>
> -#include <linux/sunrpc/auth_gss.h>
>
> #define CREATE_TRACE_POINTS
> #include <trace/events/rpcgss.h>
> --
> 2.17.1
>

--
Chuck Lever