diff options
Diffstat (limited to 'drivers/edac/i3000_edac.c')
-rw-r--r-- | drivers/edac/i3000_edac.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/edac/i3000_edac.c b/drivers/edac/i3000_edac.c index cd28b968e5c7..5cb36a6022cc 100644 --- a/drivers/edac/i3000_edac.c +++ b/drivers/edac/i3000_edac.c | |||
@@ -542,8 +542,7 @@ fail1: | |||
542 | pci_unregister_driver(&i3000_driver); | 542 | pci_unregister_driver(&i3000_driver); |
543 | 543 | ||
544 | fail0: | 544 | fail0: |
545 | if (mci_pdev) | 545 | pci_dev_put(mci_pdev); |
546 | pci_dev_put(mci_pdev); | ||
547 | 546 | ||
548 | return pci_rc; | 547 | return pci_rc; |
549 | } | 548 | } |