summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/hns/hns_roce_device.h
diff options
context:
space:
mode:
authorYixian Liu <liuyixian@huawei.com>2019-11-18 05:34:53 +0300
committerJason Gunthorpe <jgg@mellanox.com>2019-11-25 17:31:48 +0300
commitf295e4cece5cb4c60715fed539abcd62468f9ef1 (patch)
treef3651f1bfa78959213d167bb8bc8792a86b79fdd /drivers/infiniband/hw/hns/hns_roce_device.h
parent707783ab5f48f054f8da3114ddcdf1685a313a63 (diff)
downloadlinux-f295e4cece5cb4c60715fed539abcd62468f9ef1.tar.xz
RDMA/hns: Delete unnecessary callback functions for cq
Currently, when cq event occurred, we first call our own callback functions in the event process function, then call ib callback functions. Actually, we can directly call ib callback functions. Link: https://lore.kernel.org/r/1574044493-46984-5-git-send-email-liweihang@hisilicon.com Signed-off-by: Yixian Liu <liuyixian@huawei.com> Signed-off-by: Weihang Li <liweihang@hisilicon.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/hns/hns_roce_device.h')
-rw-r--r--drivers/infiniband/hw/hns/hns_roce_device.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/infiniband/hw/hns/hns_roce_device.h b/drivers/infiniband/hw/hns/hns_roce_device.h
index 152701e4a07f..5617434cbfb4 100644
--- a/drivers/infiniband/hw/hns/hns_roce_device.h
+++ b/drivers/infiniband/hw/hns/hns_roce_device.h
@@ -488,9 +488,6 @@ struct hns_roce_cq {
u8 db_en;
spinlock_t lock;
struct ib_umem *umem;
- void (*comp)(struct hns_roce_cq *cq);
- void (*event)(struct hns_roce_cq *cq, enum hns_roce_event event_type);
-
u32 cq_depth;
u32 cons_index;
u32 *set_ci_db;