diff options
author | Jiri Slaby <jslaby@suse.cz> | 2022-05-03 10:08:06 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-05-05 22:42:46 +0200 |
commit | 862526523e71a96e11ae48e081c424fdb1b50011 (patch) | |
tree | 8150f9b63625cedcb186d7cfd8ba5ad683d0752d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 9bc995f51d7828bec9b7432f0034b6e31cefb851 (diff) |
serial: pch: remove xmit circ_buf size double check
One is in handle_tx() (as "min(xmit->head - xmit->tail, fifo_size))",
another one in pop_tx() (as uart_circ_empty(xmit)). So keep only the
latter.
This makes the code simpler and size variable is not needed now.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20220503080808.28332-4-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions