Skip to content

Commit f201777

Browse files
GustavoARSilvadledford
authored andcommitted
IB/qib: remove duplicate code
Remove duplicate code. Addresses-Coverity-ID: 1226951 Signed-off-by: Gustavo A. R. Silva <[email protected]> Reviewed-by: Leon Romanovsky <[email protected]> Reviewed-by: Dennis Dalessandro <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
1 parent 4619ed4 commit f201777

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/infiniband/hw/qib/qib_mad.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -874,8 +874,6 @@ static int subn_set_portinfo(struct ib_smp *smp, struct ib_device *ibdev,
874874
ib_dispatch_event(&event);
875875
}
876876

877-
ret = subn_get_portinfo(smp, ibdev, port);
878-
879877
/* restore re-reg bit per o14-12.2.1 */
880878
pip->clientrereg_resv_subnetto |= clientrereg;
881879

0 commit comments

Comments
 (0)