aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorUmang Jain <umang.jain@ideasonboard.com>2024-10-13 16:51:28 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-10-13 15:47:35 +0200
commit67283a5ca746415ad028ae2bff16ce1914c3ce2b (patch)
tree560bf00f3022c74db4efb2b4958ad581175054fa /tools/perf/scripts/python
parentstaging: vchiq_core: Lower indentation in parse_open() (diff)
downloadlinux-67283a5ca746415ad028ae2bff16ce1914c3ce2b.tar.gz
linux-67283a5ca746415ad028ae2bff16ce1914c3ce2b.zip
staging: vchiq_core: Lower indentation in vchiq_close_service_internal
Reduce indentation of the conditional nesting in vchiq_close_service_internal() switch case by checking the error paths first and break early. This helps to reduce conditional branching and reduce indentation levels. Signed-off-by: Umang Jain <umang.jain@ideasonboard.com> Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org> Link: https://lore.kernel.org/r/20241013112128.397249-7-umang.jain@ideasonboard.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions