diff options
author | Jiri Slaby (SUSE) <jirislaby@kernel.org> | 2024-12-11 08:49:31 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-12-14 15:40:16 +0100 |
commit | e52ed2dd8287f7438c80e8e5e8c8bf14400cc1a2 (patch) | |
tree | 3b947c12211109ed039176fa49893b9874daaf9d /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | bc9c7e56a14ba71027256c4b48e0590e0c29798f (diff) |
tty: serial_core: use more guard(mutex)
Simplify 4 more functions using guard(mutex): uart_get_info(),
console_store(), serial_core_add_one_port(), and
serial_core_register_port(). Especially console_store() is now much less
convoluted. In the others, we save some goto-s and even local variables
are dropped in some.
Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20241211074933.92973-2-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