aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorHugo Villeneuve <hvilleneuve@dimonoff.com>2024-01-18 10:22:06 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-01-27 19:05:04 -0800
commitd5dd265cda8083ce63d49232e8957d9702e48a55 (patch)
tree7e950c03dd337ea2cec2a36c815831d340eb92ce /tools/perf/scripts/python/task-analyzer.py
parentserial: max310x: simplify probe() and remove() error handling (diff)
downloadlinux-d5dd265cda8083ce63d49232e8957d9702e48a55.tar.gz
linux-d5dd265cda8083ce63d49232e8957d9702e48a55.zip
serial: max310x: add explicit return for some switch default cases
Allows to simplify code by removing the break statement in the default switch/case in some functions. Suggested-by: Andy Shevchenko <andy.shevchenko@gmail.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com> Link: https://lore.kernel.org/r/20240118152213.2644269-11-hugo@hugovil.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions