|
@@ -6093,7 +6093,6 @@ err_iounmap:
|
|
|
if (priv->sram != NULL)
|
|
|
pci_iounmap(pdev, priv->sram);
|
|
|
|
|
|
- pci_set_drvdata(pdev, NULL);
|
|
|
ieee80211_free_hw(hw);
|
|
|
|
|
|
err_free_reg:
|
|
@@ -6147,7 +6146,6 @@ static void mwl8k_remove(struct pci_dev *pdev)
|
|
|
unmap:
|
|
|
pci_iounmap(pdev, priv->regs);
|
|
|
pci_iounmap(pdev, priv->sram);
|
|
|
- pci_set_drvdata(pdev, NULL);
|
|
|
ieee80211_free_hw(hw);
|
|
|
pci_release_regions(pdev);
|
|
|
pci_disable_device(pdev);
|