summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/xprtrdma/xprt_rdma.h
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2016-03-04 17:28:45 +0100
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2016-03-14 19:56:06 +0100
commitc882a655b78d23eb7037cfd6ebf94af1d7068a58 (patch)
tree4acf1b6d1061e27dc96556227e92dbff7f1a690c /net/sunrpc/xprtrdma/xprt_rdma.h
parentxprtrdma: Use new CQ API for RPC-over-RDMA client receive CQs (diff)
downloadlinux-c882a655b78d23eb7037cfd6ebf94af1d7068a58.tar.xz
linux-c882a655b78d23eb7037cfd6ebf94af1d7068a58.zip
xprtrdma: Use an anonymous union in struct rpcrdma_mw
Clean up: Make code more readable. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Reviewed-by: Devesh Sharma <devesh.sharma@broadcom.com> Reviewed-by: Sagi Grimberg <sagig@mellanox.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'net/sunrpc/xprtrdma/xprt_rdma.h')
-rw-r--r--net/sunrpc/xprtrdma/xprt_rdma.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/xprtrdma/xprt_rdma.h b/net/sunrpc/xprtrdma/xprt_rdma.h
index d60feb9aa631..b3c4472a3d6a 100644
--- a/net/sunrpc/xprtrdma/xprt_rdma.h
+++ b/net/sunrpc/xprtrdma/xprt_rdma.h
@@ -225,7 +225,7 @@ struct rpcrdma_mw {
union {
struct rpcrdma_fmr fmr;
struct rpcrdma_frmr frmr;
- } r;
+ };
void (*mw_sendcompletion)(struct ib_wc *);
struct list_head mw_list;
struct list_head mw_all;