x86/cpu: Drop pointless static qualifier in punit_dev_state_show()
authorYueHaibing <yuehaibing@huawei.com>
Fri, 12 Oct 2018 10:40:22 +0000 (10:40 +0000)
committerIngo Molnar <mingo@kernel.org>
Fri, 12 Oct 2018 10:48:44 +0000 (12:48 +0200)
commitf703fd374ef8fb06e46713b326d255e20d6278ad
tree6d7e211008d2b50755d29ba4997e65c96ccdc0eb
parent8f51ba8e604e6b35105f120cd69018b14ade84d2
x86/cpu: Drop pointless static qualifier in punit_dev_state_show()

There is no need to have the 'struct dentry *dev_state' variable static
since new value always be assigned before use it.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: kernel-janitors@vger.kernel.org
Link: http://lkml.kernel.org/r/1539340822-117563-1-git-send-email-yuehaibing@huawei.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/platform/atom/punit_atom_debug.c