ib_srpt: Remove two superfluous assignments

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8940 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2020-05-19 22:13:11 +00:00
parent b2536f47cf
commit de74677c56
-2
View File
@@ -1304,7 +1304,6 @@ static int srpt_ch_qp_rtr(struct srpt_rdma_ch *ch, struct ib_qp *qp)
if (ret)
goto out;
attr->qp_access_flags = 0;
attr->max_dest_rd_atomic = 4;
ret = ib_modify_qp(qp, attr, attr_mask);
@@ -1338,7 +1337,6 @@ static int srpt_ch_qp_rts(struct srpt_rdma_ch *ch, struct ib_qp *qp)
if (ret)
goto out;
attr->qp_access_flags = 0;
attr->max_rd_atomic = 4;
ret = ib_modify_qp(qp, attr, attr_mask);