Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f201777a authored by Gustavo A. R. Silva's avatar Gustavo A. R. Silva Committed by Doug Ledford
Browse files

IB/qib: remove duplicate code



Remove duplicate code.

Addresses-Coverity-ID: 1226951
Signed-off-by: default avatarGustavo A. R. Silva <garsilva@embeddedor.com>
Reviewed-by: default avatarLeon Romanovsky <leonro@mellanox.com>
Reviewed-by: default avatarDennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent 4619ed40
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -874,8 +874,6 @@ static int subn_set_portinfo(struct ib_smp *smp, struct ib_device *ibdev,
		ib_dispatch_event(&event);
	}

	ret = subn_get_portinfo(smp, ibdev, port);

	/* restore re-reg bit per o14-12.2.1 */
	pip->clientrereg_resv_subnetto |= clientrereg;