OSDN Git Service

RDMA/hns: Delete redundant condition judgment related to eq
authorYangyang Li <liyangyang20@huawei.com>
Fri, 2 Apr 2021 09:07:28 +0000 (17:07 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Thu, 8 Apr 2021 19:08:21 +0000 (16:08 -0300)
commit714a597baab099e728307768e3b5c3b82d7b2ce3
treedb12b0f9a906faf61de46a81037139ebb50978be
parent9eab614338cdfe08db343954454fa5191d082a11
RDMA/hns: Delete redundant condition judgment related to eq

The register value related to the eq interrupt depends only on
enable_flag, so the redundant condition judgment is deleted.

Fixes: a5073d6054f7 ("RDMA/hns: Add eq support of hip08")
Link: https://lore.kernel.org/r/1617354454-47840-4-git-send-email-liweihang@huawei.com
Signed-off-by: Yangyang Li <liyangyang20@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_v2.c