Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 510bd068 authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Rob Herring
Browse files

of: simplify arch_find_n_match_cpu_physical_id() function



This commit does not change the function behavior.

Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent 794fab7d
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -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);
}

/**