aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorThéo Lebrun <[email protected]>2023-12-07 18:56:12 +0100
committerGreg Kroah-Hartman <[email protected]>2023-12-15 14:24:12 +0100
commit8ff87406c29b43fa0d807ce80601c94821cab9bc (patch)
tree0005e04d32b2424fd2a04ed11c0c330b6cf05f45 /tools/perf/scripts/python
parent826bd77ae5e8fec91a5fddb189adbdbaef3050ef (diff)
tty: serial: amba-pl011: unindent pl011_console_get_options function body
The whole function body is encapsulated inside an if-condition. Reverse the if logic and early return to remove one indentation level. Also turn two nested ifs into a single one at the end of the function. Reviewed-by: Linus Walleij <[email protected]> Reviewed-by: Ilpo Järvinen <[email protected]> Signed-off-by: Théo Lebrun <[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')
0 files changed, 0 insertions, 0 deletions