[PATCH] hpt366.c compilation fix

From: Andries.Brouwer@cwi.nl
Date: Sun Apr 20 2003 - 13:23:15 EST


Remove declaration of unused variables.

diff -u --recursive --new-file -X /linux/dontdiff a/drivers/ide/pci/hpt366.c b/drivers/ide/pci/hpt366.c
--- a/drivers/ide/pci/hpt366.c Sun Apr 20 12:59:31 2003
+++ b/drivers/ide/pci/hpt366.c Sun Apr 20 20:11:59 2003
@@ -1105,7 +1105,6 @@
                     (findev->device == dev->device) &&
                     ((findev->devfn - dev->devfn) == 1) &&
                     (PCI_FUNC(findev->devfn) & 1)) {
- u8 irq = 0, irq2 = 0;
                         if (findev->irq != dev->irq) {
                                 /* FIXME: we need a core pci_set_interrupt() */
                                 findev->irq = dev->irq;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Apr 23 2003 - 22:00:27 EST