mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-25 20:09:05 +00:00
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>
This commit is contained in:
parent
a23c76e92d
commit
b55c63332e
@ -84,8 +84,7 @@ out_noctx:
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void __svc_rdma_put_rw_ctxt(struct svcxprt_rdma *rdma,
|
static void __svc_rdma_put_rw_ctxt(struct svc_rdma_rw_ctxt *ctxt,
|
||||||
struct svc_rdma_rw_ctxt *ctxt,
|
|
||||||
struct llist_head *list)
|
struct llist_head *list)
|
||||||
{
|
{
|
||||||
sg_free_table_chained(&ctxt->rw_sg_table, SG_CHUNK_SIZE);
|
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,
|
|||||||
static void svc_rdma_put_rw_ctxt(struct svcxprt_rdma *rdma,
|
static void svc_rdma_put_rw_ctxt(struct svcxprt_rdma *rdma,
|
||||||
struct svc_rdma_rw_ctxt *ctxt)
|
struct svc_rdma_rw_ctxt *ctxt)
|
||||||
{
|
{
|
||||||
__svc_rdma_put_rw_ctxt(rdma, ctxt, &rdma->sc_rw_ctxts);
|
__svc_rdma_put_rw_ctxt(ctxt, &rdma->sc_rw_ctxts);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -200,7 +199,7 @@ static void svc_rdma_cc_release(struct svc_rdma_chunk_ctxt *cc,
|
|||||||
rdma_rw_ctx_destroy(&ctxt->rw_ctx, rdma->sc_qp,
|
rdma_rw_ctx_destroy(&ctxt->rw_ctx, rdma->sc_qp,
|
||||||
rdma->sc_port_num, ctxt->rw_sg_table.sgl,
|
rdma->sc_port_num, ctxt->rw_sg_table.sgl,
|
||||||
ctxt->rw_nents, dir);
|
ctxt->rw_nents, dir);
|
||||||
__svc_rdma_put_rw_ctxt(rdma, ctxt, &free);
|
__svc_rdma_put_rw_ctxt(ctxt, &free);
|
||||||
|
|
||||||
ctxt->rw_node.next = first;
|
ctxt->rw_node.next = first;
|
||||||
first = &ctxt->rw_node;
|
first = &ctxt->rw_node;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user