Commit 57063438 authored by Juan Zhou's avatar Juan Zhou
Browse files

Revert "RDMA/hns: Fix missing dealloc_dfx_cnt() during device unregister"

driver inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I8EX1J



--------------------------------------------------------------------------

This reverts commit de8a9a4f.

Signed-off-by: default avatarJuan Zhou <zhoujuan51@h-partners.com>
parent c443c896
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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);
}