diff options
author | Anshuman Khandual <[email protected]> | 2021-08-12 10:39:53 +0530 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2021-08-18 09:26:07 +0100 |
commit | 6b7982fefc1fdcaa31b712f5fbc2e993cc99ad23 (patch) | |
tree | 680918966465dd0fb84027793d613d7a57190507 /net/lapb/lapb_timer.c | |
parent | bf249d9e362f1011a839d57e771b4b1a7eed9656 (diff) |
KVM: arm64: Drop check_kvm_target_cpu() based percpu probe
kvm_target_cpu() never returns a negative error code, so check_kvm_target()
would never have 'ret' filled with a negative error code. Hence the percpu
probe via check_kvm_target_cpu() does not make sense as its never going to
find an unsupported CPU, forcing kvm_arch_init() to exit early. Hence lets
just drop this percpu probe (and also check_kvm_target_cpu()) altogether.
While here, this also changes kvm_target_cpu() return type to a u32, making
it explicit that an error code will not be returned from this function.
Cc: Marc Zyngier <[email protected]>
Cc: James Morse <[email protected]>
Cc: Alexandru Elisei <[email protected]>
Cc: Suzuki K Poulose <[email protected]>
Cc: Catalin Marinas <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Acked-by: Will Deacon <[email protected]>
Signed-off-by: Anshuman Khandual <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions