RDMA/hns: Fix misplaced call to hns_roce_cleanup_hem_table
authoroulijun <oulijun@huawei.com>
Tue, 30 Jan 2018 12:20:45 +0000 (20:20 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 1 Feb 2018 22:24:32 +0000 (15:24 -0700)
commit0da6550366b8d3a221d4a927e56efec82049d518
treeaa750831ee3cd398e510482638a67420e55a7d62
parentfd012f1c4f713a34edc574c00ca47c60d72a31a2
RDMA/hns: Fix misplaced call to hns_roce_cleanup_hem_table

The mtt_table is cleaned up during the err_unmap_cqe label, it is a
mistake to duplicate the cleanup during the later unwind labels.

Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hns/hns_roce_main.c