diff options
author | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2023-05-11 15:10:29 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-05-13 19:47:26 +0900 |
commit | 72fc578b220c417787384ac7c3e235e98f218be6 (patch) | |
tree | 47b649fa1032960120fb0f3347b48a28df54d8b0 /io_uring/net.c | |
parent | 33e3b0eb755074a870fd926ebd84de52e7302090 (diff) | |
download | linux-72fc578b220c417787384ac7c3e235e98f218be6.tar.gz linux-72fc578b220c417787384ac7c3e235e98f218be6.tar.bz2 linux-72fc578b220c417787384ac7c3e235e98f218be6.zip |
serial: 8250_rt288x: Remove unnecessary UART_REG_UNMAPPED
As unmapped registers are at the tail of the array, the ARRAY_SIZE()
condition will catch them just fine. No need to define special
value for them.
Convert the arrays to u8 as all entiries are now positive.
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20230511121029.13128-7-ilpo.jarvinen@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'io_uring/net.c')
0 files changed, 0 insertions, 0 deletions