irqchip/eznps: Drop pointless static qualifier in nps400_of_init()
authorWei Yongjun <weiyongjun1@huawei.com>
Mon, 17 Oct 2016 14:26:57 +0000 (14:26 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 19 Oct 2016 12:24:36 +0000 (14:24 +0200)
commitdd1dafcdf071d94cb53917612c66a169ce741461
treebc54e5578ac8241d19e526c42320796a4fef58cd
parent1a1891d762d6e64daf07b5be4817e3fbb29e3c59
irqchip/eznps: Drop pointless static qualifier in nps400_of_init()

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 <weiyongjun1@huawei.com>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Vineet Gupta <vgupta@synopsys.com>
Cc: Jason Cooper <jason@lakedaemon.net>
Link: http://lkml.kernel.org/r/1476714417-12095-1-git-send-email-weiyj.lk@gmail.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/irqchip/irq-eznps.c