projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
794fab7
)
of: simplify arch_find_n_match_cpu_physical_id() function
author
Masahiro Yamada
<yamada.masahiro@socionext.com>
Wed, 28 Oct 2015 03:05:27 +0000
(12:05 +0900)
committer
Rob Herring
<robh@kernel.org>
Fri, 30 Oct 2015 18:04:19 +0000
(13:04 -0500)
This commit does not change the function behavior.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/base.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/of/base.c
b/drivers/of/base.c
index 8b5a187a768280c25efce25284f09875347834f1..017dd94f16ea3dd8ebbc37b81188f2d47933e878 100644
(file)
--- a/
drivers/of/base.c
+++ b/
drivers/of/base.c
@@
-375,10
+375,7
@@
bool __weak arch_find_n_match_cpu_physical_id(struct device_node *cpun,
cpu, thread))
return true;
- if (__of_find_n_match_cpu_property(cpun, "reg", cpu, thread))
- return true;
-
- return false;
+ return __of_find_n_match_cpu_property(cpun, "reg", cpu, thread);
}
/**