diff options
author | Michael Mueller <mimu@linux.ibm.com> | 2019-01-31 09:52:32 +0100 |
---|---|---|
committer | Christian Borntraeger <borntraeger@de.ibm.com> | 2019-02-05 14:29:21 +0100 |
commit | b7d455712927cc8042f97fffba5d51052856ddaf (patch) | |
tree | 454a91feb1acc5eeced6d253b2421c387476ffcf /arch/s390/kvm/interrupt.c | |
parent | 8d43d57036679a8635952c9ef54989a7b48e8c00 (diff) | |
download | linux-b7d455712927cc8042f97fffba5d51052856ddaf.tar.gz linux-b7d455712927cc8042f97fffba5d51052856ddaf.tar.bz2 linux-b7d455712927cc8042f97fffba5d51052856ddaf.zip |
KVM: s390: drop obsolete else path
The explicit else path specified in set_intercept_indicators_io
is not required as the function returns in case the first branch
is taken anyway.
Signed-off-by: Michael Mueller <mimu@linux.ibm.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Halil Pasic <pasic@linux.ibm.com>
Message-Id: <20190131085247.13826-2-mimu@linux.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'arch/s390/kvm/interrupt.c')
-rw-r--r-- | arch/s390/kvm/interrupt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/kvm/interrupt.c b/arch/s390/kvm/interrupt.c index fcb55b02990e..19d556512452 100644 --- a/arch/s390/kvm/interrupt.c +++ b/arch/s390/kvm/interrupt.c @@ -345,7 +345,7 @@ static void set_intercept_indicators_io(struct kvm_vcpu *vcpu) { if (!(pending_irqs_no_gisa(vcpu) & IRQ_PEND_IO_MASK)) return; - else if (psw_ioint_disabled(vcpu)) + if (psw_ioint_disabled(vcpu)) kvm_s390_set_cpuflags(vcpu, CPUSTAT_IO_INT); else vcpu->arch.sie_block->lctl |= LCTL_CR6; |