summaryrefslogtreecommitdiff
path: root/include/linux/root_dev.h
diff options
context:
space:
mode:
authorGabriel Somlo <gsomlo@gmail.com>2022-11-23 16:04:55 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-01-19 16:59:40 +0300
commita774aa4580d4339a37e4810f303b6a39ddc745ea (patch)
tree4f537f2ae3e27ab397e86732f211b64c3a86e940 /include/linux/root_dev.h
parentca538cc7271dea86773712b84ed02b22aaed1a12 (diff)
downloadlinux-a774aa4580d4339a37e4810f303b6a39ddc745ea.tar.xz
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 'include/linux/root_dev.h')
0 files changed, 0 insertions, 0 deletions