diff options
| author | Gabriel Somlo <[email protected]> | 2022-11-23 08:04:55 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-01-19 14:59:40 +0100 |
| commit | a774aa4580d4339a37e4810f303b6a39ddc745ea (patch) | |
| tree | 4f537f2ae3e27ab397e86732f211b64c3a86e940 /tools/perf/scripts/python/bin | |
| parent | ca538cc7271dea86773712b84ed02b22aaed1a12 (diff) | |
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 <[email protected]>
Reviewed-by: Ilpo Järvinen <[email protected]>
Reviewed-by: Jiri Slaby <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions