summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-vexpress
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2021-03-08 20:32:11 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2021-03-11 10:38:54 +0100
commit2613ac868df391a22cf2e35dbd719c47b64fae41 (patch)
treeda889b69d00d767f6e16f924cc2e59184e17faf2 /arch/arm/mach-vexpress
parent4458d4eae4062f67a241d8bd44e90f5d53420382 (diff)
downloadbarebox-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')
0 files changed, 0 insertions, 0 deletions