Revert "ntb: ntb_hw_switchtec: Fix use after free vulnerability in switchtec_ntb_remove due to race condition"
This reverts commit 9f06c4e294
.
This commit is contained in:
parent
894b6b4155
commit
7d3609eb9b
1 changed files with 0 additions and 1 deletions
|
@ -1558,7 +1558,6 @@ static void switchtec_ntb_remove(struct device *dev,
|
|||
switchtec_ntb_deinit_db_msg_irq(sndev);
|
||||
switchtec_ntb_deinit_shared_mw(sndev);
|
||||
switchtec_ntb_deinit_crosslink(sndev);
|
||||
cancel_work_sync(&sndev->check_link_status_work);
|
||||
kfree(sndev);
|
||||
dev_info(dev, "ntb device unregistered\n");
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue