commit | 4d32ad6becf0baf09f38707f0aff42c0f4367a99 | [log] [tgz] |
---|---|---|
author | David Hildenbrand <dahi@linux.vnet.ibm.com> | Wed May 06 13:51:29 2015 +0200 |
committer | Christian Borntraeger <borntraeger@de.ibm.com> | Tue Oct 13 15:50:33 2015 +0200 |
tree | 50313346d33758aa7aed69daed4ae0a2a52433f2 | |
parent | 118b862b153190f92415ece4cb97a896929c5ab8 [diff] |
KVM: s390: drop out early in kvm_s390_has_irq() Let's get rid of the local variable and exit directly if we found any pending interrupt. This is not only faster, but also better readable. Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>