powerpc/pseries: Drop pointless static qualifier in vpa_debugfs_init()
authorYueHaibing <yuehaibing@huawei.com>
Mon, 18 Feb 2019 12:56:44 +0000 (12:56 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 13 Nov 2019 05:58:06 +0000 (16:58 +1100)
commit11dd34f3eae5a468013bb161a1dcf1fecd2ca321
tree442ff1ce923157b2004bbd2e8369d16f4b72aec1
parentbfa2325e5b8b800cc6720cad8d2f066cd0136bee
powerpc/pseries: Drop pointless static qualifier in vpa_debugfs_init()

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

Fixes: c6c26fb55e8e ("powerpc/pseries: Export raw per-CPU VPA data via debugfs")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Daniel Axtens <dja@axtens.net>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20190218125644.87448-1-yuehaibing@huawei.com
arch/powerpc/platforms/pseries/lpar.c