diff options
author | Yue Haibing <yuehaibing@huawei.com> | 2018-11-15 15:33:16 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-11-25 09:11:22 +0300 |
commit | af8511cf32189ba66c7e2a4146f11c86c9813ab7 (patch) | |
tree | 8dea8beb1f20ec5e4fbcae67d1ab0eb1d38ab32f /arch/powerpc/platforms/85xx | |
parent | d64cf54e89c86487c1369991af79d8331c3e8988 (diff) | |
download | linux-af8511cf32189ba66c7e2a4146f11c86c9813ab7.tar.xz |
powerpc/85xx: Drop pointless static qualifier
There is no need to have the 'void __iomem *cpld_base' variable static
since new value always be assigned before use it.
Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/platforms/85xx')
-rw-r--r-- | arch/powerpc/platforms/85xx/t1042rdb_diu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/85xx/t1042rdb_diu.c b/arch/powerpc/platforms/85xx/t1042rdb_diu.c index dac36ba82fea..2d1652108ba1 100644 --- a/arch/powerpc/platforms/85xx/t1042rdb_diu.c +++ b/arch/powerpc/platforms/85xx/t1042rdb_diu.c @@ -39,7 +39,7 @@ struct device_node *cpld_node; */ static void t1042rdb_set_monitor_port(enum fsl_diu_monitor_port port) { - static void __iomem *cpld_base; + void __iomem *cpld_base; cpld_base = of_iomap(cpld_node, 0); if (!cpld_base) { |