RDMA/hns: Remove unnecessary flush operation for workqueue
authorYixian Liu <liuyixian@huawei.com>
Tue, 13 Apr 2021 09:11:27 +0000 (17:11 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Tue, 13 Apr 2021 16:06:25 +0000 (13:06 -0300)
commitdc1d06e699b5fe58f97df7123996ba8556b386c9
treec0061515358192e720ca7a802b49befcdf6ad445
parent7f4a8592ff29f19c5a2ca549d0973821319afaad
RDMA/hns: Remove unnecessary flush operation for workqueue

As a flush operation is implemented inside destroy_workqueue(), there is
no need to do flush operation before.

Fixes: bfcc681bd09d ("IB/hns: Fix the bug when free mr")
Fixes: 0425e3e6e0c7 ("RDMA/hns: Support flush cqe for hip08 in kernel space")
Link: https://lore.kernel.org/r/1618305087-30799-1-git-send-email-liweihang@huawei.com
Signed-off-by: Yixian Liu <liuyixian@huawei.com>
Signed-off-by: Weihang Li <liweihang@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/hns/hns_roce_hw_v1.c
drivers/infiniband/hw/hns/hns_roce_hw_v2.c