diff options
| author | 2015-05-06 13:51:29 +0200 | |
|---|---|---|
| committer | 2015-10-13 15:50:33 +0200 | |
| commit | 4d32ad6becf0baf09f38707f0aff42c0f4367a99 (patch) | |
| tree | 50313346d33758aa7aed69daed4ae0a2a52433f2 /include/linux/debugobjects.h | |
| parent | KVM: s390: kvm_arch_vcpu_runnable already cares about timer interrupts (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>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
