All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mtip32xx: Fix incorrectly releasing a reference to pci_dev in pci_remove()
@ 2014-03-14 20:25 Asai Thambi S P
  0 siblings, 0 replies; only message in thread
From: Asai Thambi S P @ 2014-03-14 20:25 UTC (permalink / raw)
  To: Jens Axboe; +Cc: linux-kernel, Rajesh Kumar S, Sam Bradshaw


Fix incorrectly releasing a reference to pci_dev in pci_remove()

Signed-off-by: Rajesh Kumar S <rsambandam@micron.com>
Signed-off-by: Asai Thambi S P <asamymuthupa@micron.com>
---
 drivers/block/mtip32xx/mtip32xx.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/drivers/block/mtip32xx/mtip32xx.c b/drivers/block/mtip32xx/mtip32xx.c
index 624e9d9..54ad4df 100644
--- a/drivers/block/mtip32xx/mtip32xx.c
+++ b/drivers/block/mtip32xx/mtip32xx.c
@@ -4737,8 +4737,6 @@ static void mtip_pci_remove(struct pci_dev *pdev)
 
 	pcim_iounmap_regions(pdev, 1 << MTIP_ABAR);
 	pci_set_drvdata(pdev, NULL);
-	pci_dev_put(pdev);
-
 }
 
 /*
-- 
1.7.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-03-14 20:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-14 20:25 [PATCH] mtip32xx: Fix incorrectly releasing a reference to pci_dev in pci_remove() Asai Thambi S P

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.