From de74677c561b89d6a824677a5e19f5f595f31fe6 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Tue, 19 May 2020 22:13:11 +0000 Subject: [PATCH] ib_srpt: Remove two superfluous assignments git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8940 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- srpt/src/ib_srpt.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/srpt/src/ib_srpt.c b/srpt/src/ib_srpt.c index 62970cb34..d9c341220 100644 --- a/srpt/src/ib_srpt.c +++ b/srpt/src/ib_srpt.c @@ -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);