projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91f40e8
)
MIPS: pic32mzda: Drop pointless static qualifier
author
YueHaibing
<yuehaibing@huawei.com>
Thu, 27 Feb 2020 07:05:02 +0000
(07:05 +0000)
committer
Thomas Bogendoerfer
<tsbogend@alpha.franken.de>
Fri, 28 Feb 2020 11:44:39 +0000
(12:44 +0100)
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>
arch/mips/pic32/pic32mzda/time.c
patch
|
blob
|
history
diff --git
a/arch/mips/pic32/pic32mzda/time.c
b/arch/mips/pic32/pic32mzda/time.c
index 754924f260891b0e724f14576e4b87ad29c56e6e..7174e9abbb1ba891c51cea9f7858175eb3ecbd00 100644
(file)
--- 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)
{
- st
atic st
ruct device_node *node;
+ struct device_node *node;
unsigned int irq;
node = of_find_matching_node(NULL, pic32_infra_match);