From e5096625bc6bd9e3a0d5f7f9d7ecebda0383c7f5 Mon Sep 17 00:00:00 2001 From: YueHaibing Date: Thu, 27 Feb 2020 07:05:02 +0000 Subject: [PATCH] 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 Signed-off-by: Thomas Bogendoerfer --- arch/mips/pic32/pic32mzda/time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/pic32/pic32mzda/time.c b/arch/mips/pic32/pic32mzda/time.c index 754924f..7174e9a 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); -- 2.7.4