diff options
author | Karthikeyan Ramasubramanian <kramasub@codeaurora.org> | 2018-05-03 14:14:34 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-05-14 13:44:54 +0200 |
commit | 6a10635e90e8cb000e6aa8f1292f5aed4c8369e3 (patch) | |
tree | 907aee9039d8ff3d31eeaeb41b53f835f26c64fa /drivers/tty/serial/ucc_uart.c | |
parent | f02625689e543165d840aa0eb9cf2945636de25d (diff) | |
download | talos-obmc-linux-6a10635e90e8cb000e6aa8f1292f5aed4c8369e3.tar.gz talos-obmc-linux-6a10635e90e8cb000e6aa8f1292f5aed4c8369e3.zip |
tty: serial: qcom_geni_serial: Cleanup redundant code
* Remove redundant casting while using min_t
* Remove redundant initialization of port_setup flag
* Remove redundant error checking in get_tx_fifo_size
* Remove logging redundant error code in debug messages
* Remove redundant disable_irq before free_irq
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/ucc_uart.c')
0 files changed, 0 insertions, 0 deletions