mirror of https://gitee.com/openkylin/linux.git
ath10k: remove unnecessary tasklet_kill()
The tasklet is already guaranteed to be killed on the teardown path. Signed-off-by: Michal Kazior <michal.kazior@tieto.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
This commit is contained in:
parent
0d0a693971
commit
e5a1ef5f49
|
@ -2761,8 +2761,6 @@ static void ath10k_pci_remove(struct pci_dev *pdev)
|
||||||
if (!ar_pci)
|
if (!ar_pci)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
tasklet_kill(&ar_pci->msi_fw_err);
|
|
||||||
|
|
||||||
ath10k_core_unregister(ar);
|
ath10k_core_unregister(ar);
|
||||||
ath10k_pci_free_ce(ar);
|
ath10k_pci_free_ce(ar);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue