diff options
author | Karthikeyan Ramasubramanian | 2018-05-03 22:14:34 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2018-05-14 13:44:54 +0200 |
commit | 6a10635e90e8cb000e6aa8f1292f5aed4c8369e3 (patch) | |
tree | 907aee9039d8ff3d31eeaeb41b53f835f26c64fa /drivers/tty/Kconfig | |
parent | tty: serial: qcom_geni_serial: Add comments for clarification (diff) | |
download | kernel-qcow2-linux-6a10635e90e8cb000e6aa8f1292f5aed4c8369e3.tar.gz kernel-qcow2-linux-6a10635e90e8cb000e6aa8f1292f5aed4c8369e3.tar.xz kernel-qcow2-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/Kconfig')
0 files changed, 0 insertions, 0 deletions