projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a1891d
)
irqchip/eznps: Drop pointless static qualifier in nps400_of_init()
author
Wei Yongjun
<
[email protected]
>
Mon, 17 Oct 2016 14:26:57 +0000
(14:26 +0000)
committer
Thomas Gleixner
<
[email protected]
>
Wed, 19 Oct 2016 12:24:36 +0000
(14:24 +0200)
There is no need to have the 'struct irq_domain *nps400_root_domain'
variable static since new value is always assigned before use.
Fixes: 44df427c894a ("irqchip: add nps Internal and external irqchips")
Signed-off-by: Wei Yongjun <
[email protected]
>
Cc: Marc Zyngier <
[email protected]
>
Cc: Vineet Gupta <
[email protected]
>
Cc: Jason Cooper <
[email protected]
>
Link:
http://lkml.kernel.org/r/
[email protected]
Signed-off-by: Thomas Gleixner <
[email protected]
>
drivers/irqchip/irq-eznps.c
patch
|
blob
|
history
diff --git
a/drivers/irqchip/irq-eznps.c
b/drivers/irqchip/irq-eznps.c
index ebc2b0b15f677e4bac6afef3319a4d9467cc5bd6..2a7a38830a8df3ef08fdeebe6f98cd24191f8808 100644
(file)
--- a/
drivers/irqchip/irq-eznps.c
+++ b/
drivers/irqchip/irq-eznps.c
@@
-135,7
+135,7
@@
static const struct irq_domain_ops nps400_irq_ops = {
static int __init nps400_of_init(struct device_node *node,
struct device_node *parent)
{
- st
atic st
ruct irq_domain *nps400_root_domain;
+ struct irq_domain *nps400_root_domain;
if (parent) {
pr_err("DeviceTree incore ic not a root irq controller\n");