diff options
author | Gustavo A. R. Silva <garsilva@embeddedor.com> | 2017-06-07 23:42:02 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-07-24 15:44:46 +0300 |
commit | f201777a5382e0a4152342365e928c1de99815ad (patch) | |
tree | ed63d52057ab5b0d602d399a174b5f9032ccf321 /drivers/infiniband/hw/qib/qib_mad.c | |
parent | 4619ed40d916d32c253cabaeffa32ac98e0876fa (diff) | |
download | linux-f201777a5382e0a4152342365e928c1de99815ad.tar.xz |
IB/qib: remove duplicate code
Remove duplicate code.
Addresses-Coverity-ID: 1226951
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/qib/qib_mad.c')
-rw-r--r-- | drivers/infiniband/hw/qib/qib_mad.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/infiniband/hw/qib/qib_mad.c b/drivers/infiniband/hw/qib/qib_mad.c index da295e0392ed..c5eaa3c0ed24 100644 --- a/drivers/infiniband/hw/qib/qib_mad.c +++ b/drivers/infiniband/hw/qib/qib_mad.c @@ -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; |