From: Juan Zhou zhoujuan51@h-partners.com
driver inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8EX1J
--------------------------------------------------------------------------
This reverts commit de8a9a4fafb585f89de338d5ecb95e755c8d6f31.
Signed-off-by: Juan Zhou zhoujuan51@h-partners.com --- drivers/infiniband/hw/hns/hns_roce_main.c | 1 - 1 file changed, 1 deletion(-)
diff --git a/drivers/infiniband/hw/hns/hns_roce_main.c b/drivers/infiniband/hw/hns/hns_roce_main.c index 239e08abd166..9d67d8e801ce 100644 --- a/drivers/infiniband/hw/hns/hns_roce_main.c +++ b/drivers/infiniband/hw/hns/hns_roce_main.c @@ -1593,7 +1593,6 @@ void hns_roce_exit(struct hns_roce_dev *hr_dev, bool bond_cleanup) hns_roce_cmd_cleanup(hr_dev); if (hr_dev->hw->cmq_exit) hr_dev->hw->cmq_exit(hr_dev); - hns_roce_dealloc_dfx_cnt(hr_dev); if (hr_dev->notify_tbl) kvfree(hr_dev->notify_tbl); }