Skip to contentSkip to conversation

Remove unused variable.

PATCH In review Bernhard Walle 2 participants 2 messages Jun 20, 2008 – Jun 24, 2008 PCI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Remove unused variable.

This patch just fixes the compiler warning:

drivers/pci/quirks.c: In function ‘quirk_reroute_to_boot_interrupts_intel’:
drivers/pci/quirks.c:1375: warning: unused variable ‘i’

---
 drivers/pci/quirks.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
drivers/pci/quirks.c +0 -2
index 4b5b49e..292cf26 100644
@@ -1372,8 +1372,6 @@ DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL,	0x260b, quirk_intel_pcie_pm);
  */
 static void quirk_reroute_to_boot_interrupts_intel(struct pci_dev *dev)
 {
-	int i;
-
 	if (noioapicquirk)
 		return;
 
Signature · 1 line
1.5.4.5
#1 lore raw
Quoted 4 lines · Bernhard Walle

This patch just fixes the compiler warning:

drivers/pci/quirks.c: In function ‘quirk_reroute_to_boot_interrupts_intel’:
drivers/pci/quirks.c:1375: warning: unused variable ‘i’

applied to tip/x86/pci-ioapic-boot-irq-quirks, thanks Bernhard.

Ingo