Skip to contentSkip to conversation

ide/hpt366: remove unused variable

PATCH Alexander Beregalov 2 participants 3 messages Oct 20, 2008 libata

lore
Share & tools
lore
#0 lore raw

---

 drivers/ide/pci/hpt366.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
drivers/ide/pci/hpt366.c +0 -1
index 9cf171c..ca0acb5 100644
@@ -1289,7 +1289,6 @@ static u8 hpt3xx_cable_detect(ide_hwif_t *hwif)
 
 static void __devinit init_hwif_hpt366(ide_hwif_t *hwif)
 {
-	struct pci_dev *dev	= to_pci_dev(hwif->dev);
 	struct hpt_info *info	= hpt3xx_get_info(hwif->dev);
 	int serialize		= HPT_SERIALIZE_IO;
 	u8  chip_type		= info->chip_type;
#2 lore raw
Quoted 6 lines · I just
Quoted 2 lines

Heh, third patch to address this. :-)
And the pull fixing this already pending for three days :-)

Pull request, I mean. Looks like Linus' has pulled at last, so it's
fixed.

MBR, Sergei