[<prev] [next>] [day] [month] [year] [list]
Message-ID: <532365AD.6080201@micron.com>
Date: Fri, 14 Mar 2014 13:25:17 -0700
From: Asai Thambi S P <asamymuthupa@...ron.com>
To: Jens Axboe <axboe@...nel.dk>
CC: linux-kernel <linux-kernel@...r.kernel.org>,
Rajesh Kumar S <rsambandam@...ron.com>,
Sam Bradshaw <sbradshaw@...ron.com>
Subject: [PATCH] mtip32xx: Fix incorrectly releasing a reference to pci_dev
in pci_remove()
Fix incorrectly releasing a reference to pci_dev in pci_remove()
Signed-off-by: Rajesh Kumar S <rsambandam@...ron.com>
Signed-off-by: Asai Thambi S P <asamymuthupa@...ron.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists