Re: [PATCH] MIPS: Remove unused variable in arch_local_irq_restore

From: Jiaxun Yang
Date: Sun Apr 23 2023 - 10:43:00 EST




> 2023年4月23日 15:35,Jiaxun Yang <jiaxun.yang@xxxxxxxxxxx> 写道:
>
> It was left over in 9efe1ad6f24a ("MIPS: Don't play with fire in
> DIEI irq_restore").
>
> Signed-off-by: Jiaxun Yang <jiaxun.yang@xxxxxxxxxxx>

Oh sorry please ignore the noise.

mips-fixes tree on codeaurora mirror is lapsed. Really shouldn’t use that mirror.

Thanks
Jiaxun

> ---
> 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)
>