diff options
author | Jiri Slaby <[email protected]> | 2022-09-20 07:20:45 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2022-09-22 16:14:08 +0200 |
commit | 2a4be3a55cd2970aa8c45f6cd1cd9dce09061093 (patch) | |
tree | bd9254ec54a460d20b1fbf56d38cbcbeb29ea81c /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 0fbf36bb6a072a537478f4e1071eb13c451a16e2 (diff) |
tty: serial: extract tx_ready() from __serial_lpc32xx_tx()
The condition in __serial_lpc32xx_tx()'s loop is barely readable.
Extract it to a separate function. This will make the cleanup in the
next patches easier too.
Cc: Vladimir Zapolskiy <[email protected]>
Cc: <[email protected]>
Reviewed-by: Ilpo Järvinen <[email protected]>
Signed-off-by: Jiri Slaby <[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/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions