2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-27 06:34:11 +08:00

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>
This commit is contained in:
YueHaibing 2020-02-27 07:05:02 +00:00 committed by Thomas Bogendoerfer
parent 91f40e8964
commit e5096625bc

View File

@ -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);