mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
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: 44df427c89 ("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]>
This commit is contained in:
parent
1a1891d762
commit
dd1dafcdf0
1 changed files with 1 additions and 1 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in a new issue