summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMiaohe Lin <linmiaohe@huawei.com>2019-10-21 10:52:56 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2019-10-22 13:34:52 +0200
commit30ce89acdfe91eb7a88cc5805d2774f11e1eccb4 (patch)
tree8d17c49077b48daedb653fd0c91e9160df16a275 /tools/perf/scripts/python/export-to-postgresql.py
parent2cf9af0b566823de418eb2ff357a2f8233c718e9 (diff)
KVM: remove redundant code in kvm_arch_vm_ioctl
If we reach here with r = 0, we will reassign r = 0 unnecesarry, then do the label set_irqchip_out work. If we reach here with r != 0, then we will do the label work directly. So this if statement and r = 0 assignment is redundant. Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions