Skip to contentSkip to conversation

x86: io_apic_64.c: remove unused config check

PATCH New Hiroshi Shimamoto 1 participant 1 message Nov 9, 2007 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86: io_apic_64.c: remove unused config check

CONFIG_IRQBALANCE doesn't exist on x86_64.

---
 arch/x86/kernel/io_apic_64.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/x86/kernel/io_apic_64.c +1 -1
index 953328b..04b90ce 100644
@@ -1435,7 +1435,7 @@ static void ack_apic_level(unsigned int irq)
 	int do_unmask_irq = 0;
 
 	irq_complete_move(irq);
-#if defined(CONFIG_GENERIC_PENDING_IRQ) || defined(CONFIG_IRQBALANCE)
+#ifdef CONFIG_GENERIC_PENDING_IRQ
 	/* If we are moving the irq we need to mask it */
 	if (unlikely(irq_desc[irq].status & IRQ_MOVE_PENDING)) {
 		do_unmask_irq = 1;
Signature · 1 line
1.5.3.4