diff options
| author | Gabriel Somlo <gsomlo@gmail.com> | 2022-11-23 08:04:55 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-01-19 14:59:40 +0100 |
| commit | a774aa4580d4339a37e4810f303b6a39ddc745ea (patch) | |
| tree | 4f537f2ae3e27ab397e86732f211b64c3a86e940 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | serial: liteuart: simplify passing of uart_insert_char() flag (diff) | |
| download | linux-a774aa4580d4339a37e4810f303b6a39ddc745ea.tar.gz linux-a774aa4580d4339a37e4810f303b6a39ddc745ea.zip | |
serial: liteuart: clean up rx loop variables
The `status` variable will always be `1` when passed into the call
to `uart_insert_char()`, so it can be eliminated altogether.
Use `u8` as the type for `ch`, as it matches the return type of
the `litex_read8()` call which produces its value.
Signed-off-by: Gabriel Somlo <gsomlo@gmail.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Reviewed-by: Jiri Slaby <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20221123130500.1030189-10-gsomlo@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
