Re: [PATCH 1/2] hpt366: add hpt3xx_disable_fast_irq() helper

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Bartlomiej Zolnierkiewicz
Date: Wednesday, October 15, 2008 - 11:11 am

On Tuesday 14 October 2008, Sergei Shtylyov wrote:

Sorry for that but... shit happens. ;)


Not such a big deal, we just have to make an another one...

From: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Subject: [PATCH] hpt366: fix compile warning

Fixup for commit 1785192b5310ee25165768f5bb80f13146788e3e
("hpt366: add hpt3xx_disable_fast_irq() helper"):

   CC      drivers/ide/pci/hpt366.o
drivers/ide/pci/hpt366.c: In function `init_hwif_hpt366':
drivers/ide/pci/hpt366.c:1290: warning: unused variable `dev'

Reported-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
---
 drivers/ide/pci/hpt366.c |    1 -
 1 file changed, 1 deletion(-)

Index: b/drivers/ide/pci/hpt366.c
===================================================================
--- a/drivers/ide/pci/hpt366.c
+++ b/drivers/ide/pci/hpt366.c
@@ -1289,7 +1289,6 @@ static u8 hpt3xx_cable_detect(ide_hwif_t
 
 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;
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 1/2] hpt366: add hpt3xx_disable_fast_irq() helper, Bartlomiej Zolnierki ..., (Sat Aug 2, 10:15 am)
Re: [PATCH 1/2] hpt366: add hpt3xx_disable_fast_irq() helper, Sergei Shtylyov, (Tue Oct 14, 1:51 pm)
Re: [PATCH 1/2] hpt366: add hpt3xx_disable_fast_irq() helper, Bartlomiej Zolnierki ..., (Wed Oct 15, 11:11 am)
Re: [PATCH 1/2] hpt366: add hpt3xx_disable_fast_irq() helper, Sergei Shtylyov, (Wed Oct 15, 2:19 pm)
Re: [PATCH 1/2] hpt366: add hpt3xx_disable_fast_irq() helper, Sergei Shtylyov, (Wed Oct 15, 2:55 pm)