aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/orinoco/orinoco_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/orinoco/orinoco_pci.c')
-rw-r--r--drivers/net/wireless/orinoco/orinoco_pci.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/orinoco/orinoco_pci.c b/drivers/net/wireless/orinoco/orinoco_pci.c
index 677bf14eca84..5ae1191d2532 100644
--- a/drivers/net/wireless/orinoco/orinoco_pci.c
+++ b/drivers/net/wireless/orinoco/orinoco_pci.c
@@ -184,7 +184,6 @@ static int orinoco_pci_init_one(struct pci_dev *pdev,
184 free_irq(pdev->irq, priv); 184 free_irq(pdev->irq, priv);
185 185
186 fail_irq: 186 fail_irq:
187 pci_set_drvdata(pdev, NULL);
188 free_orinocodev(priv); 187 free_orinocodev(priv);
189 188
190 fail_alloc: 189 fail_alloc:
@@ -205,7 +204,6 @@ static void orinoco_pci_remove_one(struct pci_dev *pdev)
205 204
206 orinoco_if_del(priv); 205 orinoco_if_del(priv);
207 free_irq(pdev->irq, priv); 206 free_irq(pdev->irq, priv);
208 pci_set_drvdata(pdev, NULL);
209 free_orinocodev(priv); 207 free_orinocodev(priv);
210 pci_iounmap(pdev, priv->hw.iobase); 208 pci_iounmap(pdev, priv->hw.iobase);
211 pci_release_regions(pdev); 209 pci_release_regions(pdev);