diff options
author | Jiri Slaby <jslaby@suse.cz> | 2022-04-21 12:17:04 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-04-22 16:21:53 +0200 |
commit | 08814cd69d4eace3612aaa386dffa5ebb8d1e1a4 (patch) | |
tree | 40fe46056a49975d06095526b2cb8210f90d4ae1 /include/asm-generic | |
parent | a28ef75816fcce29b72704143347a9f7700637be (diff) |
serial: xilinx_uartps: cache xmit in cdns_uart_handle_tx()
Cache port->state->xmit into a local variable (xmit) in
cdns_uart_handle_tx(). This reduces length of some lines there
significantly. I.e. makes the code more readable.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20220421101708.5640-4-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/asm-generic')
0 files changed, 0 insertions, 0 deletions