[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1407225124-25074-6-git-send-email-kiran.padwal@smartplayin.com>
Date: Tue, 5 Aug 2014 13:22:03 +0530
From: Kiran Padwal <kiran.padwal@...rtplayin.com>
To: davidb@...eaurora.org
Cc: dwalker@...o99.com, bryanh@...eaurora.org, sboyd@...eaurora.org,
gregkh@...uxfoundation.org, jslaby@...e.cz,
kiran.padwal@...rtplayin.com, linux-arm-msm@...r.kernel.org,
linux-serial@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH 5/5] 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@...rtplayin.com>
---
drivers/tty/serial/msm_serial.c | 2 --
1 file changed, 2 deletions(-)
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
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists