提交 795e9364 编写于 作者: F Florian Fainelli 提交者: John W. Linville

mwl8k: remove useless pci shutdown callback and stray debugging

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: NFlorian Fainelli <ffainelli@freebox.fr>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 d6d82020
...@@ -5873,11 +5873,6 @@ static int __devinit mwl8k_probe(struct pci_dev *pdev, ...@@ -5873,11 +5873,6 @@ static int __devinit mwl8k_probe(struct pci_dev *pdev,
return rc; 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) static void __devexit mwl8k_remove(struct pci_dev *pdev)
{ {
struct ieee80211_hw *hw = pci_get_drvdata(pdev); struct ieee80211_hw *hw = pci_get_drvdata(pdev);
...@@ -5931,7 +5926,6 @@ static struct pci_driver mwl8k_driver = { ...@@ -5931,7 +5926,6 @@ static struct pci_driver mwl8k_driver = {
.id_table = mwl8k_pci_id_table, .id_table = mwl8k_pci_id_table,
.probe = mwl8k_probe, .probe = mwl8k_probe,
.remove = __devexit_p(mwl8k_remove), .remove = __devexit_p(mwl8k_remove),
.shutdown = __devexit_p(mwl8k_shutdown),
}; };
module_pci_driver(mwl8k_driver); module_pci_driver(mwl8k_driver);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册