diff mbox

mwl8k: remove useless pci shutdown callback and stray debugging

Message ID 1354550194-19356-1-git-send-email-ffainelli@freebox.fr (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Florian Fainelli Dec. 3, 2012, 3:56 p.m. UTC
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>
---
 drivers/net/wireless/mwl8k.c |    6 ------
 1 file changed, 6 deletions(-)
diff mbox

Patch

diff --git a/drivers/net/wireless/mwl8k.c b/drivers/net/wireless/mwl8k.c
index 0cdae66..434d508 100644
--- a/drivers/net/wireless/mwl8k.c
+++ b/drivers/net/wireless/mwl8k.c
@@ -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);