mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 20:22:09 +00:00
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: Hulk Robot <hulkci@huawei.com> Signed-off-by: Mao Wenan <maowenan@huawei.com> Signed-off-by: Paul 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>
This commit is contained in:
parent
f3c560a61b
commit
11d06df7b9
@ -91,7 +91,7 @@ static inline void stop_perf_counters(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();
|
||||
|
Loading…
Reference in New Issue
Block a user