Skip to content

Commit aba7d14

Browse files
chuckleverJ. Bruce Fields
authored andcommitted
svcrdma: Remove unused sc_dto_q field
Clean up. Commit be99bb1 ("svcrdma: Use new CQ API for RPC-over-RDMA server send CQs") removed code that used the sc_dto_q field, but neglected to remove sc_dto_q at the same time. Fixes: be99bb1 ("svcrdma: Use new CQ API for RPC-over- ...") Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
1 parent c2ccf64 commit aba7d14

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

include/linux/sunrpc/svc_rdma.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,6 @@ struct svcxprt_rdma {
172172

173173
wait_queue_head_t sc_send_wait; /* SQ exhaustion waitlist */
174174
unsigned long sc_flags;
175-
struct list_head sc_dto_q; /* DTO tasklet I/O pending Q */
176175
struct list_head sc_read_complete_q;
177176
struct work_struct sc_work;
178177
};

net/sunrpc/xprtrdma/svc_rdma_transport.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,6 @@ static struct svcxprt_rdma *rdma_create_xprt(struct svc_serv *serv,
557557
return NULL;
558558
svc_xprt_init(&init_net, &svc_rdma_class, &cma_xprt->sc_xprt, serv);
559559
INIT_LIST_HEAD(&cma_xprt->sc_accept_q);
560-
INIT_LIST_HEAD(&cma_xprt->sc_dto_q);
561560
INIT_LIST_HEAD(&cma_xprt->sc_rq_dto_q);
562561
INIT_LIST_HEAD(&cma_xprt->sc_read_complete_q);
563562
INIT_LIST_HEAD(&cma_xprt->sc_frmr_q);

0 commit comments

Comments
 (0)