]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit870495ec9a4d225a2c7b949f3279a607542b6ee2
treec0061515358192e720ca7a802b49befcdf6ad445
parentbe98f756315be9ea428a06f770633c575a5535ed
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: 8e0f1fbe96e8 ("IB/hns: Fix the bug when free mr")
Fixes: 4c5ba465aff9 ("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