arm64: paravirt: remove conduit check in has_pv_steal_clock
authorUsama Arif <usama.arif@bytedance.com>
Fri, 4 Nov 2022 06:16:59 +0000 (06:16 +0000)
committerWill Deacon <will@kernel.org>
Wed, 9 Nov 2022 18:11:56 +0000 (18:11 +0000)
commit1e55b44d9ecd42dee7106ce635ffd855183f5221
tree1adab652adf67e71be2c7262394c371b963fae3f
parent59598b42eb52c734bd45d00f64a73129a4537e49
arm64: paravirt: remove conduit check in has_pv_steal_clock

arm_smccc_1_1_invoke() which is called later on in the function
will return failure if there's no conduit (or pre-SMCCC 1.1),
hence the check is unnecessary.

Suggested-by: Steven Price <steven.price@arm.com>
Signed-off-by: Usama Arif <usama.arif@bytedance.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Link: https://lore.kernel.org/r/20221104061659.4116508-1-usama.arif@bytedance.com
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/paravirt.c