[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230423143545.32487-1-jiaxun.yang@flygoat.com>
Date: Sun, 23 Apr 2023 15:35:45 +0100
From: Jiaxun Yang <jiaxun.yang@...goat.com>
To: linux-mips@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, tsbogend@...ha.franken.de,
Jiaxun Yang <jiaxun.yang@...goat.com>
Subject: [PATCH] MIPS: Remove unused variable in arch_local_irq_restore
It was left over in 9efe1ad6f24a ("MIPS: Don't play with fire in
DIEI irq_restore").
Signed-off-by: Jiaxun Yang <jiaxun.yang@...goat.com>
---
arch/mips/include/asm/irqflags.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/mips/include/asm/irqflags.h b/arch/mips/include/asm/irqflags.h
index 3357bce75c69..b79269789c71 100644
--- a/arch/mips/include/asm/irqflags.h
+++ b/arch/mips/include/asm/irqflags.h
@@ -59,8 +59,6 @@ static inline unsigned long arch_local_irq_save(void)
static inline void arch_local_irq_restore(unsigned long flags)
{
- unsigned long __tmp1;
-
if (likely(flags)) {
__asm__ __volatile__(
" .set push \n"
--
2.39.2 (Apple Git-143)
Powered by blists - more mailing lists