summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorDavid Hildenbrand <dahi@linux.vnet.ibm.com>2015-05-06 14:51:29 +0300
committerChristian Borntraeger <borntraeger@de.ibm.com>2015-10-13 16:50:33 +0300
commit4d32ad6becf0baf09f38707f0aff42c0f4367a99 (patch)
tree50313346d33758aa7aed69daed4ae0a2a52433f2 /tools/perf/scripts/python/syscall-counts.py
parent118b862b153190f92415ece4cb97a896929c5ab8 (diff)
downloadlinux-4d32ad6becf0baf09f38707f0aff42c0f4367a99.tar.xz
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 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions