Skip to content

Commit e509662

Browse files
YueHaibingtsbogend
authored andcommitted
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 <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
1 parent 91f40e8 commit e509662

File tree

1 file changed

+1
-1
lines changed
  • arch/mips/pic32/pic32mzda

1 file changed

+1
-1
lines changed

arch/mips/pic32/pic32mzda/time.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ static const struct of_device_id pic32_infra_match[] = {
2323

2424
static unsigned int pic32_xlate_core_timer_irq(void)
2525
{
26-
static struct device_node *node;
26+
struct device_node *node;
2727
unsigned int irq;
2828

2929
node = of_find_matching_node(NULL, pic32_infra_match);

0 commit comments

Comments
 (0)