summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorSean Christopherson <sean.j.christopherson@intel.com>2020-02-19 02:40:10 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2020-05-27 20:11:07 +0300
commit7cb85fc465fdb91e88eff02b496150b1270952cf (patch)
tree4b49af3ba1da688007aa73ba5b2aa369e34f3b81 /tools/perf/scripts/python/export-to-sqlite.py
parentdf2a69af85bef169ab6810cc57f6b6b943941e7e (diff)
downloadlinux-7cb85fc465fdb91e88eff02b496150b1270952cf.tar.xz
KVM: x86: Remove superfluous brackets from case statement
Remove unnecessary brackets from a case statement that unintentionally encapsulates unrelated case statements in the same switch statement. While technically legal and functionally correct syntax, the brackets are visually confusing and potentially dangerous, e.g. the last of the encapsulated case statements has an undocumented fall-through that isn't flagged by compilers due the encapsulation. Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com> Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com> Message-Id: <20200218234012.7110-2-sean.j.christopherson@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions