Skip to content

Commit b55c633

Browse files
committed
svcrdma: Remove an unused argument from __svc_rdma_put_rw_ctxt()
Clean up. Reviewed-by: Jeff Layton <jlayton@kernel.org> Acked-by: Tom Talpey <tom@talpey.com> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
1 parent a23c76e commit b55c633

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

net/sunrpc/xprtrdma/svc_rdma_rw.c

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,7 @@ svc_rdma_get_rw_ctxt(struct svcxprt_rdma *rdma, unsigned int sges)
8484
return NULL;
8585
}
8686

87-
static void __svc_rdma_put_rw_ctxt(struct svcxprt_rdma *rdma,
88-
struct svc_rdma_rw_ctxt *ctxt,
87+
static void __svc_rdma_put_rw_ctxt(struct svc_rdma_rw_ctxt *ctxt,
8988
struct llist_head *list)
9089
{
9190
sg_free_table_chained(&ctxt->rw_sg_table, SG_CHUNK_SIZE);
@@ -95,7 +94,7 @@ static void __svc_rdma_put_rw_ctxt(struct svcxprt_rdma *rdma,
9594
static void svc_rdma_put_rw_ctxt(struct svcxprt_rdma *rdma,
9695
struct svc_rdma_rw_ctxt *ctxt)
9796
{
98-
__svc_rdma_put_rw_ctxt(rdma, ctxt, &rdma->sc_rw_ctxts);
97+
__svc_rdma_put_rw_ctxt(ctxt, &rdma->sc_rw_ctxts);
9998
}
10099

101100
/**
@@ -200,7 +199,7 @@ static void svc_rdma_cc_release(struct svc_rdma_chunk_ctxt *cc,
200199
rdma_rw_ctx_destroy(&ctxt->rw_ctx, rdma->sc_qp,
201200
rdma->sc_port_num, ctxt->rw_sg_table.sgl,
202201
ctxt->rw_nents, dir);
203-
__svc_rdma_put_rw_ctxt(rdma, ctxt, &free);
202+
__svc_rdma_put_rw_ctxt(ctxt, &free);
204203

205204
ctxt->rw_node.next = first;
206205
first = &ctxt->rw_node;

0 commit comments

Comments
 (0)