* [PATCH -queue] loongson2: fix compile error on arch/mips/oprofile/op_model_loongson2.c
@ 2010-02-21 17:46 Florian Fainelli
2010-02-23 23:18 ` Ralf Baechle
0 siblings, 1 reply; 2+ messages in thread
From: Florian Fainelli @ 2010-02-21 17:46 UTC (permalink / raw)
To: linux-mips; +Cc: wuzhangjin, ralf
flags is now an unused variable, causing a build failure due to -Werror
being turned on.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
---
diff --git a/arch/mips/oprofile/op_model_loongson2.c b/arch/mips/oprofile/op_model_loongson2.c
index 2ffd47a..29e2326 100644
--- a/arch/mips/oprofile/op_model_loongson2.c
+++ b/arch/mips/oprofile/op_model_loongson2.c
@@ -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.
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH -queue] loongson2: fix compile error on arch/mips/oprofile/op_model_loongson2.c
2010-02-21 17:46 [PATCH -queue] loongson2: fix compile error on arch/mips/oprofile/op_model_loongson2.c Florian Fainelli
@ 2010-02-23 23:18 ` Ralf Baechle
0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2010-02-23 23:18 UTC (permalink / raw)
To: Florian Fainelli; +Cc: linux-mips, wuzhangjin
On Sun, Feb 21, 2010 at 06:46:22PM +0100, Florian Fainelli wrote:
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-02-23 23:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-21 17:46 [PATCH -queue] loongson2: fix compile error on arch/mips/oprofile/op_model_loongson2.c Florian Fainelli
2010-02-23 23:18 ` Ralf Baechle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox