mwl8k: remove useless pci shutdown callback and stray debugging
authorFlorian Fainelli <ffainelli@freebox.fr>
Mon, 3 Dec 2012 15:56:34 +0000 (16:56 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 3 Dec 2012 18:52:01 +0000 (13:52 -0500)
This patch removes a left over debugging print present in the pci
shutdown callback, since this callback does not do anything useful, get
rid of it entirely.

Signed-off-by: Florian Fainelli <ffainelli@freebox.fr>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwl8k.c

index 0cdae663273554c91ecab874ed1d46d728d8d533..434d508f9e3e15af73c7045013ac2f9323dfb181 100644 (file)
@@ -5873,11 +5873,6 @@ err_disable_device:
        return rc;
 }
 
-static void __devexit mwl8k_shutdown(struct pci_dev *pdev)
-{
-       printk(KERN_ERR "===>%s(%u)\n", __func__, __LINE__);
-}
-
 static void __devexit mwl8k_remove(struct pci_dev *pdev)
 {
        struct ieee80211_hw *hw = pci_get_drvdata(pdev);
@@ -5931,7 +5926,6 @@ static struct pci_driver mwl8k_driver = {
        .id_table       = mwl8k_pci_id_table,
        .probe          = mwl8k_probe,
        .remove         = __devexit_p(mwl8k_remove),
-       .shutdown       = __devexit_p(mwl8k_shutdown),
 };
 
 module_pci_driver(mwl8k_driver);