Commit e5096625 authored by YueHaibing's avatar YueHaibing Committed by Thomas Bogendoerfer

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: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
parent 91f40e89
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment