From: Heiko Carstens Date: Tue, 24 Nov 2015 13:28:12 +0000 (+0100) Subject: KVM: s390: remove pointless test_facility(2) check X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a6aacc3f87dfd44425fc17ea9875a5c2ad917227;p=openwrt%2Fstaging%2Fblogic.git KVM: s390: remove pointless test_facility(2) check This evaluates always to 'true'. Signed-off-by: Heiko Carstens Reviewed-by: David Hildenbrand Signed-off-by: Christian Borntraeger --- diff --git a/arch/s390/kvm/kvm-s390.c b/arch/s390/kvm/kvm-s390.c index 49d33190bd98..77724ce0cb82 100644 --- a/arch/s390/kvm/kvm-s390.c +++ b/arch/s390/kvm/kvm-s390.c @@ -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)