diff options
author | Jiri Slaby (SUSE) <jirislaby@kernel.org> | 2023-04-20 12:35:57 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-04-20 14:48:50 +0300 |
commit | 71ca6e4bf44f9a737f11e3f169430f81e9febd7b (patch) | |
tree | 433fdf64bd02f06789f08d81d30abe647c7042b9 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 6b97370b2cc6ef75acb72d651ef57041c8f1ece9 (diff) | |
download | linux-71ca6e4bf44f9a737f11e3f169430f81e9febd7b.tar.xz |
tty: vt: simplify some cases in tioclinux()
There is no need to set "ret" variable and break. We can simply return
from the cases. This makes the code much easier to follow, as many else
branches are redundant.
Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20230420093559.13200-2-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions