diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2018-05-07 21:27:53 +0200 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2018-05-11 21:48:57 +0200 |
commit | f016f305f98159a9131ce200ed3b4ed92133012c (patch) | |
tree | 9bfc74f914f97c3710de1d398b006582fede58c3 /include | |
parent | svcrdma: Allocate recv_ctxt's on CPU handling Receives (diff) | |
download | linux-f016f305f98159a9131ce200ed3b4ed92133012c.tar.xz linux-f016f305f98159a9131ce200ed3b4ed92133012c.zip |
svcrdma: Refactor svc_rdma_dma_map_buf
Clean up: svc_rdma_dma_map_buf does mostly the same thing as
svc_rdma_dma_map_page, so let's fold these together.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/sunrpc/svc_rdma.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/sunrpc/svc_rdma.h b/include/linux/sunrpc/svc_rdma.h index 27cf59c7085f..95530bc7bfab 100644 --- a/include/linux/sunrpc/svc_rdma.h +++ b/include/linux/sunrpc/svc_rdma.h @@ -158,13 +158,6 @@ struct svc_rdma_recv_ctxt { struct page *rc_pages[RPCSVC_MAXPAGES]; }; -/* Track DMA maps for this transport and context */ -static inline void svc_rdma_count_mappings(struct svcxprt_rdma *rdma, - struct svc_rdma_op_ctxt *ctxt) -{ - ctxt->mapped_sges++; -} - /* svc_rdma_backchannel.c */ extern int svc_rdma_handle_bc_reply(struct rpc_xprt *xprt, __be32 *rdma_resp, |