Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dd1dafcd authored by Wei Yongjun's avatar Wei Yongjun Committed by Thomas Gleixner
Browse files

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: 44df427c ("irqchip: add nps Internal and external irqchips")
Signed-off-by: default avatarWei 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: default avatarThomas Gleixner <tglx@linutronix.de>
parent 1a1891d7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)
{
	static struct irq_domain *nps400_root_domain;
	struct irq_domain *nps400_root_domain;

	if (parent) {
		pr_err("DeviceTree incore ic not a root irq controller\n");