diff options
author | 2022-09-27 13:18:17 +0200 | |
---|---|---|
committer | 2022-09-30 14:58:45 +0200 | |
commit | ed9bf4aea06e36bbb3482e01061c433d703bcaff (patch) | |
tree | 08d04b30eb20e2cb77fb954604ce6edd39ee5ec8 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | tty: serial: extend lqasc_tx_ready() to lqasc_console_putchar() (diff) | |
download | wireguard-linux-ed9bf4aea06e36bbb3482e01061c433d703bcaff.tar.xz wireguard-linux-ed9bf4aea06e36bbb3482e01061c433d703bcaff.zip |
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 <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20220927111819.18516-2-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions