projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6690fae
)
[POWERPC] arch/powerpc/sysdev/ipic.c of_node_get cleanup
author
Mariusz Kozlowski
<m.kozlowski@tuxland.pl>
Tue, 2 Jan 2007 11:50:20 +0000
(12:50 +0100)
committer
Paul Mackerras
<paulus@samba.org>
Wed, 24 Jan 2007 10:13:57 +0000
(21:13 +1100)
No need for ?: because of_node_get() can handle NULL argument.
Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/sysdev/ipic.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/sysdev/ipic.c
b/arch/powerpc/sysdev/ipic.c
index 746f78c153756c29007c2bad272e0d0779926989..522aa14e8f0d195057dadf8b40e84cafa63151fe 100644
(file)
--- a/
arch/powerpc/sysdev/ipic.c
+++ b/
arch/powerpc/sysdev/ipic.c
@@
-569,7
+569,7
@@
void __init ipic_init(struct device_node *node,
return;
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,
NR_IPIC_INTS,