summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/msm_serial.c
diff options
context:
space:
mode:
authorKiran Padwal <kiran.padwal@smartplayin.com>2014-08-05 09:52:03 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-09-09 00:28:28 +0200
commit864119917de4fe041e43787681eb706e6fe86624 (patch)
treeb33c8ec70c3155dd966586fdbfb35a46f66054bb /drivers/tty/serial/msm_serial.c
parenttty: serial: msm: Fix 'else is not generally useful after a break or return' ... (diff)
downloadlinux-864119917de4fe041e43787681eb706e6fe86624.tar.xz
linux-864119917de4fe041e43787681eb706e6fe86624.zip
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 dfebbafbf84e..26df03878b7e 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