mirror of
https://github.com/torvalds/linux.git
synced 2024-12-01 08:31:37 +00:00
RDMA/nes: Remove self-assignment from nes_query_qp()
Assigning a value to itself is pointless. Spotted with coverity, no hardware to test. Signed-off-by: Dave Jones <davej@fedoraproject.org> Signed-off-by: Roland Dreier <roland@purestorage.com>
This commit is contained in:
parent
959f58544b
commit
4127c365c9
@ -2834,7 +2834,7 @@ static int nes_query_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr,
|
||||
init_attr->qp_context = nesqp->ibqp.qp_context;
|
||||
init_attr->send_cq = nesqp->ibqp.send_cq;
|
||||
init_attr->recv_cq = nesqp->ibqp.recv_cq;
|
||||
init_attr->srq = nesqp->ibqp.srq = nesqp->ibqp.srq;
|
||||
init_attr->srq = nesqp->ibqp.srq;
|
||||
init_attr->cap = attr->cap;
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user