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 91d6076..71ab110 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);