KVM: s390: remove pointless test_facility(2) check
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Tue, 24 Nov 2015 13:28:12 +0000 (14:28 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Mon, 30 Nov 2015 11:47:12 +0000 (12:47 +0100)
This evaluates always to 'true'.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/kvm/kvm-s390.c

index 49d33190bd98746202bbb96c6d39ea0b35f11a3c..77724ce0cb82af525a8a64709d954c1be6521efa 100644 (file)
@@ -1027,7 +1027,7 @@ static int kvm_s390_apxa_installed(void)
        u8 config[128];
        int cc;
 
-       if (test_facility(2) && test_facility(12)) {
+       if (test_facility(12)) {
                cc = kvm_s390_query_ap_config(config);
 
                if (cc)