hpt366.c compilation fix
PATCH 1/1 hpt366.c compilation fix
Remove declaration of unused variables.
drivers/ide/pci/hpt366.c +0 -1
@@ -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;
Quoted 1 line · [email protected] wrote:
Remove declaration of unused variables.
Would you be open to changing your $subject in the future?
I think it is a bit misleading to call warning fixes "compilation fixes", because by definition warnings to not break compilation, therefore you are not fixing compilation :)
Jeff
drivers/ide/pci/hpt366.c line 1110
Quoted 13 lines · On Sul, 2003-04-20 at 19:23, [email protected] wrote:
Remove declaration of unused variables.
diff -u --recursive --new-file -X /linux/dontdiff
a/drivers/ide/pci/hpt366.cb/drivers/ide/pci/hpt366.cdrivers/ide/pci/hpt366.c +0
-1@@ -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;
Well it compiles regardless but yes that seems right to me