From: Kiran Padwal Date: Tue, 5 Aug 2014 07:52:03 +0000 (+0530) Subject: tty: serial: msm: Fix 'void function return statements are not generally useful'... X-Git-Tag: v3.18-rc1~129^2~91 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=864119917de4fe041e43787681eb706e6fe86624;p=platform%2Fkernel%2Flinux-exynos.git 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 Signed-off-by: Greg Kroah-Hartman --- 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