diff options
author | Jiri Slaby <[email protected]> | 2022-09-27 13:18:17 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2022-09-30 14:58:45 +0200 |
commit | ed9bf4aea06e36bbb3482e01061c433d703bcaff (patch) | |
tree | 08d04b30eb20e2cb77fb954604ce6edd39ee5ec8 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | d8544c9c7cf77100be9340c61a9e3e88fe4bb12c (diff) |
tty: serial: use FIELD_GET() in lqasc_tx_ready()
FIELD_GET() can do the job smarter and more readable. We don't even need
ASCFSTAT_TXFREEOFF. So switch to the former and remove the latter.
Suggested-by: Ilpo Järvinen <[email protected]>
Signed-off-by: Jiri Slaby <[email protected]>
Reviewed-by: Ilpo Järvinen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions