mirror of
https://github.com/torvalds/linux.git
synced 2026-09-25 09:41:03 +02:00
KVM: s390: Remove double 64bscao feature check
sclp.has_64bscao is already verified in the guard clause a few lines above this. So we cannot reach this code if it is not true. Reviewed-by: Hendrik Brueckner <brueckner@linux.ibm.com> Reviewed-by: Eric Farman <farman@linux.ibm.com> Reviewed-by: Janosch Frank <frankja@linux.ibm.com> Signed-off-by: Christoph Schlameuss <schlameuss@linux.ibm.com> Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com> Reviewed-by: Janosch Frank <frankja@de.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@linux.ibm.com>
This commit is contained in:
parent
8dbc99a1c3
commit
b5e93a1496
|
|
@ -455,8 +455,7 @@ static void __init kvm_s390_cpu_feat_init(void)
|
|||
!test_facility(3) || !nested)
|
||||
return;
|
||||
allow_cpu_feat(KVM_S390_VM_CPU_FEAT_SIEF2);
|
||||
if (sclp.has_64bscao)
|
||||
allow_cpu_feat(KVM_S390_VM_CPU_FEAT_64BSCAO);
|
||||
allow_cpu_feat(KVM_S390_VM_CPU_FEAT_64BSCAO);
|
||||
if (sclp.has_siif)
|
||||
allow_cpu_feat(KVM_S390_VM_CPU_FEAT_SIIF);
|
||||
if (sclp.has_gpere)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user