diff options
author | Jiri Slaby (SUSE) <jirislaby@kernel.org> | 2024-12-11 08:49:32 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-12-14 15:40:16 +0100 |
commit | 4d0e56d571b8675e5a4863f394884c7db4387bcb (patch) | |
tree | 58b520e42336c2df47c228706381f51dbec2f10f /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | e52ed2dd8287f7438c80e8e5e8c8bf14400cc1a2 (diff) |
tty: serial: get rid of exit label from uart_set_info()
The label is unneeded since 7ba2e769825f (tty: Split the serial_core
helpers for setserial into two). Until then, there was a lock held in
uart_set_info().
Now it is not, so we can remove the label. This involves reordering the
code, so that it is clear what values are returned, where and why. Until
now, it was really hard to follow.
The "change_port" part of the function is extracted into a separate
function in the next patch. This patch makes the transition there easier
too.
Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20241211074933.92973-3-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions