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) ...@@ -267,7 +267,6 @@ int timer_interrupt(struct pt_regs * regs)
unsigned long cur_tb; unsigned long cur_tb;
struct paca_struct *lpaca = get_paca(); struct paca_struct *lpaca = get_paca();
unsigned long cpu = lpaca->xPacaIndex; unsigned long cpu = lpaca->xPacaIndex;
struct ItLpQueue * lpq;
irq_enter(); irq_enter();
...@@ -301,9 +300,11 @@ int timer_interrupt(struct pt_regs * regs) ...@@ -301,9 +300,11 @@ int timer_interrupt(struct pt_regs * regs)
set_dec(next_dec); set_dec(next_dec);
#ifdef CONFIG_PPC_ISERIES #ifdef CONFIG_PPC_ISERIES
lpq = lpaca->lpQueuePtr; {
if (lpq && ItLpQueue_isLpIntPending(lpq)) struct ItLpQueue *lpq = lpaca->lpQueuePtr;
lpEvent_count += ItLpQueue_process(lpq, regs); if (lpq && ItLpQueue_isLpIntPending(lpq))
lpEvent_count += ItLpQueue_process(lpq, regs);
}
#endif #endif
irq_exit(); 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