Skip to content

Commit

Permalink
mwl8k: remove useless pci shutdown callback and stray debugging
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Florian Fainelli authored and John W. Linville committed Dec 3, 2012
1 parent d6d8202 commit 795e936
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions drivers/net/wireless/mwl8k.c
Original file line number Diff line number Diff line change
Expand Up @@ -5873,11 +5873,6 @@ static int __devinit mwl8k_probe(struct pci_dev *pdev,
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);
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 795e936

Please sign in to comment.