aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorVincent Chen <[email protected]>2019-09-23 00:45:17 +0000
committerPaul Walmsley <[email protected]>2019-10-14 19:30:28 +0000
commit2f01b7864188b895e0f18250b650328da4fe3cb2 (patch)
tree9e9f727cc0b09d10de1a5956960a094edc88ef21 /tools/perf/scripts/python
parentLinux 5.4-rc3 (diff)
downloadkernel-2f01b7864188b895e0f18250b650328da4fe3cb2.tar.gz
kernel-2f01b7864188b895e0f18250b650328da4fe3cb2.zip
riscv: remove the switch statement in do_trap_break()
To make the code more straightforward, replace the switch statement with an if statement. Suggested-by: Paul Walmsley <[email protected]> Signed-off-by: Vincent Chen <[email protected]> [[email protected]: cleaned up patch description; updated to apply] Link: https://lore.kernel.org/linux-riscv/[email protected]/ Link: https://lore.kernel.org/linux-riscv/CABvJ_xiHJSB7P5QekuLRP=LBPzXXghAfuUpPUYb=a_HbnOQ6BA@mail.gmail.com/ Link: https://lists.01.org/hyperkitty/list/[email protected]/thread/VDCU2WOB6KQISREO4V5DTXEI2M7VOV55/ Cc: Christoph Hellwig <[email protected]> Signed-off-by: Paul Walmsley <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions