Skip to content

Commit a6bc326

Browse files
sfrothwellIngo Molnar
authored andcommitted
sparseirq, powerpc/cell: fix unused variable warning in interrupt.c
This new compiler warning: arch/powerpc/platforms/cell/interrupt.c: In function 'handle_iic_irq': arch/powerpc/platforms/cell/interrupt.c:240: warning: unused variable 'cpu' Triggers because the local variable 'cpu' became unused due to commit: dee4102: sparseirq: use kstat_irqs_cpu instead Remove the variable. Signed-off-by: Stephen Rothwell <[email protected]> Cc: Yinghai Lu <[email protected]> Cc: ppc-dev <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
1 parent edb3502 commit a6bc326

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

arch/powerpc/platforms/cell/interrupt.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,6 @@ extern int noirqdebug;
237237

238238
static void handle_iic_irq(unsigned int irq, struct irq_desc *desc)
239239
{
240-
const unsigned int cpu = smp_processor_id();
241-
242240
spin_lock(&desc->lock);
243241

244242
desc->status &= ~(IRQ_REPLAY | IRQ_WAITING);

0 commit comments

Comments
 (0)