summaryrefslogtreecommitdiffstats
path: root/arch/s390
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2015-11-24 14:28:12 +0100
committerChristian Borntraeger <borntraeger@de.ibm.com>2015-11-30 12:47:12 +0100
commita6aacc3f87dfd44425fc17ea9875a5c2ad917227 (patch)
tree5ed5b7ca2c4dbfbe79c83ad86d6f7c4165707618 /arch/s390
parent07197fd05fa3eb2e8a5aae92938ca5d07bcac9fc (diff)
downloadop-kernel-dev-a6aacc3f87dfd44425fc17ea9875a5c2ad917227.zip
op-kernel-dev-a6aacc3f87dfd44425fc17ea9875a5c2ad917227.tar.gz
KVM: s390: remove pointless test_facility(2) check
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>
Diffstat (limited to 'arch/s390')
-rw-r--r--arch/s390/kvm/kvm-s390.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/kvm/kvm-s390.c b/arch/s390/kvm/kvm-s390.c
index 49d3319..77724ce 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)
OpenPOWER on IntegriCloud