summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/msm_serial.c
diff options
context:
space:
mode:
authorKiran Padwal <kiran.padwal@smartplayin.com>2014-08-05 13:22:03 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-09-08 15:28:28 -0700
commit864119917de4fe041e43787681eb706e6fe86624 (patch)
treeb33c8ec70c3155dd966586fdbfb35a46f66054bb /drivers/tty/serial/msm_serial.c
parent6f47abcb86cd9e061013a12a3aa4748b1949b25e (diff)
downloadop-kernel-dev-864119917de4fe041e43787681eb706e6fe86624.zip
op-kernel-dev-864119917de4fe041e43787681eb706e6fe86624.tar.gz
tty: serial: msm: Fix 'void function return statements are not generally useful' warning
fixed below checkpatch.pl warning: WARNING: void function return statements are not generally useful Signed-off-by: Kiran Padwal <kiran.padwal@smartplayin.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/msm_serial.c')
-rw-r--r--drivers/tty/serial/msm_serial.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/tty/serial/msm_serial.c b/drivers/tty/serial/msm_serial.c
index dfebbaf..26df038 100644
--- a/drivers/tty/serial/msm_serial.c
+++ b/drivers/tty/serial/msm_serial.c
@@ -787,8 +787,6 @@ static void msm_poll_put_char(struct uart_port *port, unsigned char c)
/* Enable interrupts */
msm_write(port, imr, UART_IMR);
-
- return;
}
#endif
OpenPOWER on IntegriCloud