Commit af337c09 authored by Mariusz Kozlowski's avatar Mariusz Kozlowski Committed by Paul Mackerras
Browse files

[POWERPC] arch/powerpc/sysdev/ipic.c of_node_get cleanup

No need for ?: because of_node_get() can handle NULL argument.
Signed-off-by: default avatarMariusz Kozlowski <>
Signed-off-by: default avatarPaul Mackerras <>
parent 6690faeb
......@@ -569,7 +569,7 @@ void __init ipic_init(struct device_node *node,
memset(ipic, 0, sizeof(struct ipic));
ipic->of_node = node ? of_node_get(node) : NULL;
ipic->of_node = of_node_get(node);
ipic->irqhost = irq_alloc_host(IRQ_HOST_MAP_LINEAR,
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment