From: Yue Haibing Date: Thu, 15 Nov 2018 12:33:16 +0000 (+0000) Subject: powerpc/85xx: Drop pointless static qualifier X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=af8511cf32189ba66c7e2a4146f11c86c9813ab7;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Michael Ellerman --- 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) {