Skip to content

Commit

Permalink
MIPS: pic32mzda: Drop pointless static qualifier
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
YueHaibing authored and Thomas Bogendoerfer committed Feb 28, 2020
1 parent 91f40e8 commit e509662
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/mips/pic32/pic32mzda/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e509662

Please sign in to comment.