summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorThéo Lebrun <theo.lebrun@bootlin.com>2023-12-07 20:56:12 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-12-15 16:24:12 +0300
commit8ff87406c29b43fa0d807ce80601c94821cab9bc (patch)
tree0005e04d32b2424fd2a04ed11c0c330b6cf05f45 /tools/perf/scripts/python/export-to-postgresql.py
parent826bd77ae5e8fec91a5fddb189adbdbaef3050ef (diff)
downloadlinux-8ff87406c29b43fa0d807ce80601c94821cab9bc.tar.xz
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 <linus.walleij@linaro.org> Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com> Link: https://lore.kernel.org/r/20231207-mbly-uart-v6-7-e384afa5e78c@bootlin.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions