diff mbox

[5/5] tty: serial: msm: Fix 'void function return statements are not generally useful' warning

Message ID 1407225124-25074-6-git-send-email-kiran.padwal@smartplayin.com (mailing list archive)
State Accepted, archived
Headers show

Commit Message

kiran.padwal@smartplayin.com Aug. 5, 2014, 7:52 a.m. UTC
fixed below checkpatch.pl warning:

WARNING: void function return statements are not generally useful

Signed-off-by: Kiran Padwal <kiran.padwal@smartplayin.com>
---
 drivers/tty/serial/msm_serial.c |    2 --
 1 file changed, 2 deletions(-)
diff mbox

Patch

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