tty: serial: msm: Fix 'void function return statements are not generally useful'...
authorKiran Padwal <kiran.padwal@smartplayin.com>
Tue, 5 Aug 2014 07:52:03 +0000 (13:22 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Sep 2014 22:28:28 +0000 (15:28 -0700)
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>
drivers/tty/serial/msm_serial.c

index dfebbafbf84e7d5ce0883ab41e033710766e3be8..26df03878b7e49dc65d86f2335a3de96ae50bb3e 100644 (file)
@@ -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