aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/xprtrdma/xprt_rdma.h
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2017-10-30 16:21:57 -0400
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2017-11-17 16:43:42 -0500
commit2232df5ece121fd7049ccff95cbb3acfab278d75 (patch)
tree4fbcb81bf103d6b40710f51c5dc9c1eba18f511d /net/sunrpc/xprtrdma/xprt_rdma.h
parentxprtrdma: Put Send CQ in IB_POLL_WORKQUEUE mode (diff)
downloadlinux-dev-2232df5ece121fd7049ccff95cbb3acfab278d75.tar.xz
linux-dev-2232df5ece121fd7049ccff95cbb3acfab278d75.zip
rpcrdma: Remove C structure definitions of XDR data items
Clean up: C-structure style XDR encoding and decoding logic has been replaced over the past several merge windows on both the client and server. These data structures are no longer used. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Reviewed-by: Devesh Sharma <devesh.sharma@broadcom.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to '')
-rw-r--r--net/sunrpc/xprtrdma/xprt_rdma.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/net/sunrpc/xprtrdma/xprt_rdma.h b/net/sunrpc/xprtrdma/xprt_rdma.h
index 6e64c8259d34..8b9954c41ee4 100644
--- a/net/sunrpc/xprtrdma/xprt_rdma.h
+++ b/net/sunrpc/xprtrdma/xprt_rdma.h
@@ -145,12 +145,6 @@ rdmab_lkey(struct rpcrdma_regbuf *rb)
return rb->rg_iov.lkey;
}
-static inline struct rpcrdma_msg *
-rdmab_to_msg(struct rpcrdma_regbuf *rb)
-{
- return (struct rpcrdma_msg *)rb->rg_base;
-}
-
static inline struct ib_device *
rdmab_device(struct rpcrdma_regbuf *rb)
{