aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorUmang Jain <[email protected]>2024-10-13 16:51:28 +0530
committerGreg Kroah-Hartman <[email protected]>2024-10-13 15:47:35 +0200
commit67283a5ca746415ad028ae2bff16ce1914c3ce2b (patch)
tree560bf00f3022c74db4efb2b4958ad581175054fa /tools/perf/scripts/python/gecko.py
parent8cea95f40fed5141f1950f9547839cbc436c9486 (diff)
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 <[email protected]> Reviewed-by: Dan Carpenter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions