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:
b137405
)
[POWERPC] arch/powerpc/kernel/vio.c of_node_put cleanup
author
Mariusz Kozlowski
<m.kozlowski@tuxland.pl>
Tue, 2 Jan 2007 11:38:36 +0000
(12:38 +0100)
committer
Paul Mackerras
<paulus@samba.org>
Wed, 24 Jan 2007 10:13:57 +0000
(21:13 +1100)
Remove redundant argument check for of_node_put().
Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/vio.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/kernel/vio.c
b/arch/powerpc/kernel/vio.c
index a80f8f1d2e5d9e1062562614dd87b6fe7e5614f7..2968ffeafdb68c06f6d1d7ff96dfa8e4bab4578d 100644
(file)
--- a/
arch/powerpc/kernel/vio.c
+++ b/
arch/powerpc/kernel/vio.c
@@
-199,10
+199,8
@@
EXPORT_SYMBOL(vio_unregister_driver);
/* vio_dev refcount hit 0 */
static void __devinit vio_dev_release(struct device *dev)
{
- if (dev->archdata.of_node) {
- /* XXX should free TCE table */
- of_node_put(dev->archdata.of_node);
- }
+ /* XXX should free TCE table */
+ of_node_put(dev->archdata.of_node);
kfree(to_vio_dev(dev));
}