ath10k: remove unnecessary tasklet_kill()
authorMichal Kazior <michal.kazior@tieto.com>
Fri, 23 May 2014 10:28:46 +0000 (12:28 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 26 May 2014 09:44:18 +0000 (12:44 +0300)
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>
drivers/net/wireless/ath/ath10k/pci.c

index 91d6076d7a711857f8194db70b35765478daa1c9..71ab110a4c4d2486e607d62f9fcf00151e1ea303 100644 (file)
@@ -2761,8 +2761,6 @@ static void ath10k_pci_remove(struct pci_dev *pdev)
        if (!ar_pci)
                return;
 
-       tasklet_kill(&ar_pci->msi_fw_err);
-
        ath10k_core_unregister(ar);
        ath10k_pci_free_ce(ar);