diff options
author | Jiri Slaby <jslaby@suse.cz> | 2022-09-20 07:20:44 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-09-22 16:14:08 +0200 |
commit | 0fbf36bb6a072a537478f4e1071eb13c451a16e2 (patch) | |
tree | 9ead587f5ae2017563dbedd3660f05f68d2d6449 /net/x25/x25_link.c | |
parent | 3af44d9bb0539d5fa27d6159d696fda5f3747bff (diff) |
tty: serial: extract lqasc_tx_ready() from lqasc_tx_chars()
The condition in lqasc_tx_chars()'s loop is barely readable. Extract it
to a separate function. This will make the cleanup in the next patches
easier too.
(Put it before lqasc_start_tx(), so that we can use it there later.)
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20220920052049.20507-5-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/x25/x25_link.c')
0 files changed, 0 insertions, 0 deletions