diff options
author | Jiri Slaby <jslaby@suse.cz> | 2022-04-21 12:17:03 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-04-22 16:21:53 +0200 |
commit | a28ef75816fcce29b72704143347a9f7700637be (patch) | |
tree | 19d63ec03649ca2adcf111dafbcdca42000c1073 /include/linux/mod_devicetable.h | |
parent | b68f42d4c99704e06c6f163af077b1bf4671f0bc (diff) |
serial: xilinx_uartps: return early in cdns_uart_handle_tx()
Return from the true branch of the 'if'. This saves one indentation
level and makes the code more readable.
The two comments about what obvious code does are removed too.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20220421101708.5640-3-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/mod_devicetable.h')
0 files changed, 0 insertions, 0 deletions