diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2021-03-08 20:32:11 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2021-03-11 10:38:54 +0100 |
commit | 2613ac868df391a22cf2e35dbd719c47b64fae41 (patch) | |
tree | da889b69d00d767f6e16f924cc2e59184e17faf2 /arch/arm/mach-vexpress/Kconfig | |
parent | 4458d4eae4062f67a241d8bd44e90f5d53420382 (diff) | |
download | barebox-2613ac868df391a22cf2e35dbd719c47b64fae41.tar.gz barebox-2613ac868df391a22cf2e35dbd719c47b64fae41.tar.xz |
ARM64: qemu-virt64: remove dead CPU identification code
cpu_is_arm(cpu) masks the read_cpuid_id() return value and compares with
a CPU-specific value. The used masks for the Cortex A53/57 zeroes bits
that are set in the value, so the comparison will never return true.
In fact the compiler already optimizes it away completely, because
read_cpuid_id() is only implemented for ARM32 anyway.
Drop the dead code.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-vexpress/Kconfig')
0 files changed, 0 insertions, 0 deletions