mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-17 20:56:24 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user