提交 510bd068 编写于 作者: M Masahiro Yamada 提交者: Rob Herring

of: simplify arch_find_n_match_cpu_physical_id() function

This commit does not change the function behavior.
Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: NRob Herring <robh@kernel.org>
上级 794fab7d
......@@ -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);
}
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册