mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-26 18:43:33 -05:00
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>
This commit is contained in:
parent
794fab7d78
commit
510bd068db
1 changed files with 1 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue