Commit 11d06df7 authored by Mao Wenan's avatar Mao Wenan Committed by Paul Burton

MIPS: Loongson2ef: drop pointless static qualifier in loongson_suspend_enter()

There is no need to have the 'T *v' variable static
since new value always be assigned before use it.
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarMao Wenan <maowenan@huawei.com>
Signed-off-by: default avatarPaul Burton <paulburton@kernel.org>
Cc: <jiaxun.yang@flygoat.com>
Cc: <ralf@linux-mips.org>
Cc: <jhogan@kernel.org>
Cc: <gregkh@linuxfoundation.org>
Cc: <tglx@linutronix.de>
Cc: <linux-mips@vger.kernel.org>
Cc: <linux-kernel@vger.kernel.org>
Cc: <kernel-janitors@vger.kernel.org>
parent f3c560a6
...@@ -91,7 +91,7 @@ static inline void stop_perf_counters(void) ...@@ -91,7 +91,7 @@ static inline void stop_perf_counters(void)
static void loongson_suspend_enter(void) static void loongson_suspend_enter(void)
{ {
static unsigned int cached_cpu_freq; unsigned int cached_cpu_freq;
/* setup wakeup events via enabling the IRQs */ /* setup wakeup events via enabling the IRQs */
setup_wakeup_events(); setup_wakeup_events();
......
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