diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2015-10-27 23:05:27 -0400 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2015-10-30 14:04:19 -0400 |
commit | 510bd068db34b946a067629679c5cc99c8b99f1e (patch) | |
tree | c7d401c1d0cb5e7352d57c3ed3a1c6dec67d4af8 /drivers/of | |
parent | 794fab7d785a2fb5b3f1777619143a8e72955eac (diff) |
of: simplify arch_find_n_match_cpu_physical_id() function
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>
Diffstat (limited to 'drivers/of')
-rw-r--r-- | drivers/of/base.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/of/base.c b/drivers/of/base.c index 8b5a187a7682..017dd94f16ea 100644 --- 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, | |||
375 | cpu, thread)) | 375 | cpu, thread)) |
376 | return true; | 376 | return true; |
377 | 377 | ||
378 | if (__of_find_n_match_cpu_property(cpun, "reg", cpu, thread)) | 378 | return __of_find_n_match_cpu_property(cpun, "reg", cpu, thread); |
379 | return true; | ||
380 | |||
381 | return false; | ||
382 | } | 379 | } |
383 | 380 | ||
384 | /** | 381 | /** |