Commit 8f1f92e2 authored by Andrew Morton's avatar Andrew Morton Committed by Anton Blanchard

ppc64: kill ppc64 unused var warning

parent 312b2eaf
......@@ -267,7 +267,6 @@ int timer_interrupt(struct pt_regs * regs)
unsigned long cur_tb;
struct paca_struct *lpaca = get_paca();
unsigned long cpu = lpaca->xPacaIndex;
struct ItLpQueue * lpq;
irq_enter();
......@@ -301,9 +300,11 @@ int timer_interrupt(struct pt_regs * regs)
set_dec(next_dec);
#ifdef CONFIG_PPC_ISERIES
lpq = lpaca->lpQueuePtr;
{
struct ItLpQueue *lpq = lpaca->lpQueuePtr;
if (lpq && ItLpQueue_isLpIntPending(lpq))
lpEvent_count += ItLpQueue_process(lpq, regs);
}
#endif
irq_exit();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment