Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1257623 > unrolled thread
| Started by | Masahiro Yamada <yamada.masahiro@socionext.com> |
|---|---|
| First post | 2015-10-28 04:10 +0100 |
| Last post | 2015-10-30 19:40 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH] of: simplify arch_find_n_match_cpu_physical_id() function Masahiro Yamada <yamada.masahiro@socionext.com> - 2015-10-28 04:10 +0100
Re: [PATCH] of: simplify arch_find_n_match_cpu_physical_id() function Rob Herring <robh+dt@kernel.org> - 2015-10-30 19:40 +0100
| From | Masahiro Yamada <yamada.masahiro@socionext.com> |
|---|---|
| Date | 2015-10-28 04:10 +0100 |
| Subject | [PATCH] of: simplify arch_find_n_match_cpu_physical_id() function |
| Message-ID | <qophD-5qX-1@gated-at.bofh.it> |
This commit does not change the function behavior. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> --- drivers/of/base.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/of/base.c b/drivers/of/base.c index 8b5a187..017dd94 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, 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); } /** -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [next] | [standalone]
| From | Rob Herring <robh+dt@kernel.org> |
|---|---|
| Date | 2015-10-30 19:40 +0100 |
| Message-ID | <qpmKL-Q6-33@gated-at.bofh.it> |
| In reply to | #1257623 |
On Tue, Oct 27, 2015 at 10:05 PM, Masahiro Yamada <yamada.masahiro@socionext.com> wrote: > This commit does not change the function behavior. > > Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Applied. Thanks. Rob > --- > > drivers/of/base.c | 5 +---- > 1 file changed, 1 insertion(+), 4 deletions(-) > > diff --git a/drivers/of/base.c b/drivers/of/base.c > index 8b5a187..017dd94 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, > 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); > } > > /** > -- > 1.9.1 > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web