sunrpc: xprtrdma: Remove repeated struct declaration
Subsystems (3)
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.
Signed-off-by Wan Jiabing <[email protected]>
--- net/sunrpc/xprtrdma/xprt_rdma.h | 1 - 1 file changed, 1 deletion(-)
net/sunrpc/xprtrdma/xprt_rdma.h +0 -1
@@ -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
Hi -
Quoted 4 lines · Wan Jiabing
struct
rpcrdma_reqis declared twice. One is declared at 216th line. The blew one is not needed. Remove the duplicate.
s/blew/below/
Quoted 2 lines
Signed-off-by Wan Jiabing <[email protected]>
Reviewed-by Chuck Lever <[email protected]>
Thanks! This one goes to Anna.
Quoted 19 lines
---
net/sunrpc/xprtrdma/xprt_rdma.h| 1 -1 file changed, 1 deletion(-)net/sunrpc/xprtrdma/xprt_rdma.h +0
-1@@ -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
--
Chuck Lever