loongson2: fix compile error on arch/mips/oprofile/op_model_loongson2.c
PATCH 1/1 loongson2: fix compile error on arch/mips/oprofile/op_model_loongson2.c
flags is now an unused variable, causing a build failure due to -Werror being turned on.
Signed-off-by Florian Fainelli <[email protected]>
---
arch/mips/oprofile/op_model_loongson2.c +0 -1
@@ -113,7 +113,6 @@ static irqreturn_t loongson2_perfcount_handler(int irq, void *dev_id)uint64_t counter, counter1, counter2;struct pt_regs *regs =get_irq_regs ();int enabled; -unsigned long flags;/* * LOONGSON2 defines two 32-bit performance counters.
Quoted 2 lines · Florian Fainelli
flags is now an unused variable, causing a build failure due to -Werror being turned on.
Thanks, fixed that in the original patch that broke things.
Ralf