Commit afca2a2b authored by Wenpeng Liang's avatar Wenpeng Liang Committed by Doug Ledford
Browse files

RDMA/hns: Delete the not-used lines



Delete the assignment of srq->ibsrq.ext.xrc.srq_num, beacause this
value is not used.

Signed-off-by: default avatarWenpeng Liang <liangwenpeng@huawei.com>
Signed-off-by: default avatarLijun Ou <oulijun@huawei.com>
Link: https://lore.kernel.org/r/1566393276-42555-9-git-send-email-oulijun@huawei.com


Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent 18df508c
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -412,7 +412,6 @@ int hns_roce_create_srq(struct ib_srq *ib_srq,
		goto err_wrid;

	srq->event = hns_roce_ib_srq_event;
	srq->ibsrq.ext.xrc.srq_num = srq->srqn;
	resp.srqn = srq->srqn;

	if (udata) {