diff options
author | Nava kishore Manne <nava.manne@xilinx.com> | 2019-06-12 14:14:43 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-06-18 10:34:28 +0300 |
commit | 8d53935d9beb4b9b51fdae9296e4a7840214a64a (patch) | |
tree | 71eff66defeb8e34d94b4739d7330b49d3959f3c /drivers/tty/serial/fsl_lpuart.c | |
parent | 7be7a0145f01393e487aef8123902e08e7286a45 (diff) |
serial: uartps: Remove useless return from cdns_uart_poll_put_char
There is no reason to call return at the end of function which should
return void.
The patch is also remove one checkpatch warning:
WARNING: void function return statements are not generally useful
+ return;
+}
Fixes: 6ee04c6c5488 ("tty: xuartps: Add polled mode support for xuartps")
Signed-off-by: Nava kishore Manne <nava.manne@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/fsl_lpuart.c')
0 files changed, 0 insertions, 0 deletions