diff options
author | YueHaibing <yuehaibing@huawei.com> | 2020-02-27 10:05:02 +0300 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2020-02-28 14:44:39 +0300 |
commit | e5096625bc6bd9e3a0d5f7f9d7ecebda0383c7f5 (patch) | |
tree | 8d43cc91a303e740375a3fc47c97865c19e93d90 /arch/mips/pic32/pic32mzda | |
parent | 91f40e896444b4e4096290d3e1eeb3f9ed4cafad (diff) | |
download | linux-e5096625bc6bd9e3a0d5f7f9d7ecebda0383c7f5.tar.xz |
MIPS: pic32mzda: Drop pointless static qualifier
There is no need to have the 'struct device_node *node' variable static
since new value always be assigned before use it.
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/pic32/pic32mzda')
-rw-r--r-- | arch/mips/pic32/pic32mzda/time.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/pic32/pic32mzda/time.c b/arch/mips/pic32/pic32mzda/time.c index 754924f26089..7174e9abbb1b 100644 --- a/arch/mips/pic32/pic32mzda/time.c +++ b/arch/mips/pic32/pic32mzda/time.c @@ -23,7 +23,7 @@ static const struct of_device_id pic32_infra_match[] = { static unsigned int pic32_xlate_core_timer_irq(void) { - static struct device_node *node; + struct device_node *node; unsigned int irq; node = of_find_matching_node(NULL, pic32_infra_match); |