diff options
-rw-r--r-- | drivers/media/pci/mantis/mantis_pci.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/pci/mantis/mantis_pci.c b/drivers/media/pci/mantis/mantis_pci.c index a846036ea022..9e89e045213a 100644 --- a/drivers/media/pci/mantis/mantis_pci.c +++ b/drivers/media/pci/mantis/mantis_pci.c | |||
@@ -143,7 +143,6 @@ fail1: | |||
143 | 143 | ||
144 | fail0: | 144 | fail0: |
145 | dprintk(MANTIS_ERROR, 1, "ERROR: <%d> exiting", ret); | 145 | dprintk(MANTIS_ERROR, 1, "ERROR: <%d> exiting", ret); |
146 | pci_set_drvdata(pdev, NULL); | ||
147 | return ret; | 146 | return ret; |
148 | } | 147 | } |
149 | EXPORT_SYMBOL_GPL(mantis_pci_init); | 148 | EXPORT_SYMBOL_GPL(mantis_pci_init); |
@@ -161,7 +160,6 @@ void mantis_pci_exit(struct mantis_pci *mantis) | |||
161 | } | 160 | } |
162 | 161 | ||
163 | pci_disable_device(pdev); | 162 | pci_disable_device(pdev); |
164 | pci_set_drvdata(pdev, NULL); | ||
165 | } | 163 | } |
166 | EXPORT_SYMBOL_GPL(mantis_pci_exit); | 164 | EXPORT_SYMBOL_GPL(mantis_pci_exit); |
167 | 165 | ||