Skip to contentSkip to conversation

sunrpc: xprtrdma: Remove repeated struct declaration

PATCH New Wan Jiabing 1 participant 1 message Apr 1, 2021

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sunrpc: xprtrdma: Remove repeated struct declaration

struct rpcrdma_req is declared twice. One is declared at 216th line. The blew one is not needed. Remove the duplicate.

---
 net/sunrpc/xprtrdma/xprt_rdma.h | 1 -
 1 file changed, 1 deletion(-)
net/sunrpc/xprtrdma/xprt_rdma.h +0 -1
index fe3be985e239..11e5fbfc642c 100644
@@ -239,7 +239,6 @@ struct rpcrdma_frwr {
 	};
 };
 
-struct rpcrdma_req;
 struct rpcrdma_mr {
 	struct list_head	mr_list;
 	struct rpcrdma_req	*mr_req;
Signature · 1 line
2.25.1