diff mbox series

[net-next] SUNRPC: remove duplicate include

Message ID 20200819024943.26850-1-wanghai38@huawei.com
State New
Headers show
Series [net-next] SUNRPC: remove duplicate include | expand

Commit Message

Wang Hai Aug. 19, 2020, 2:49 a.m. UTC
Remove linux/sunrpc/auth_gss.h which is included more than once

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wang Hai <wanghai38@huawei.com>
---
 net/sunrpc/auth_gss/trace.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Chuck Lever Aug. 19, 2020, 5:40 p.m. UTC | #1
> On Aug 18, 2020, at 10:49 PM, Wang Hai <wanghai38@huawei.com> wrote:
> 
> Remove linux/sunrpc/auth_gss.h which is included more than once
> 
> Reported-by: Hulk Robot <hulkci@huawei.com>
> Signed-off-by: Wang Hai <wanghai38@huawei.com>

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
diff mbox series

Patch

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>