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-Url: https://git.stricted.de/?a=commitdiff_plain;h=864119917de4fe041e43787681eb706e6fe86624;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.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 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