diff options
Diffstat (limited to 'drivers/misc')
-rw-r--r-- | drivers/misc/tifm_7xx1.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/misc/tifm_7xx1.c b/drivers/misc/tifm_7xx1.c index f8d6654391e5..ae282a100429 100644 --- a/drivers/misc/tifm_7xx1.c +++ b/drivers/misc/tifm_7xx1.c | |||
@@ -378,7 +378,6 @@ err_out_irq: | |||
378 | err_out_unmap: | 378 | err_out_unmap: |
379 | iounmap(fm->addr); | 379 | iounmap(fm->addr); |
380 | err_out_free: | 380 | err_out_free: |
381 | pci_set_drvdata(dev, NULL); | ||
382 | tifm_free_adapter(fm); | 381 | tifm_free_adapter(fm); |
383 | err_out_int: | 382 | err_out_int: |
384 | pci_intx(dev, 0); | 383 | pci_intx(dev, 0); |
@@ -405,8 +404,6 @@ static void tifm_7xx1_remove(struct pci_dev *dev) | |||
405 | for (cnt = 0; cnt < fm->num_sockets; cnt++) | 404 | for (cnt = 0; cnt < fm->num_sockets; cnt++) |
406 | tifm_7xx1_sock_power_off(tifm_7xx1_sock_addr(fm->addr, cnt)); | 405 | tifm_7xx1_sock_power_off(tifm_7xx1_sock_addr(fm->addr, cnt)); |
407 | 406 | ||
408 | pci_set_drvdata(dev, NULL); | ||
409 | |||
410 | iounmap(fm->addr); | 407 | iounmap(fm->addr); |
411 | pci_intx(dev, 0); | 408 | pci_intx(dev, 0); |
412 | pci_release_regions(dev); | 409 | pci_release_regions(dev); |