RDMA/hns: Simplify process related to poll cq
authorLang Cheng <chenglang@huawei.com>
Fri, 22 May 2020 13:02:58 +0000 (21:02 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 25 May 2020 17:20:45 +0000 (14:20 -0300)
commite4aaf4bad4651358a923ad756f8b0c9d447ea21f
tree77543b30a46295a1ec904d7e8bdad379e8d4ff73
parentf226f6765f7fe435e033da67698565ca876c2b8d
RDMA/hns: Simplify process related to poll cq

Set hns_roce_v2_cq_set_ci to inline type and remove unnecessary
next_cqe_sw_v2().

Link: https://lore.kernel.org/r/1590152579-32364-4-git-send-email-liweihang@huawei.com
Signed-off-by: Lang Cheng <chenglang@huawei.com>
Signed-off-by: Weihang Li <liweihang@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hns/hns_roce_hw_v2.c