aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/nwpserial.c
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2014-06-03 18:54:44 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-09 17:29:38 -0700
commit8b152f1096975d012f60387b899d407e4a93b46c (patch)
treef100c4a636bb2e9f4a0443400965a6ed87bbcbda /drivers/tty/serial/nwpserial.c
parentserial: core: Make enable_ms() optional (diff)
downloadlinux-dev-8b152f1096975d012f60387b899d407e4a93b46c.tar.xz
linux-dev-8b152f1096975d012f60387b899d407e4a93b46c.zip
serial: treewide: Remove empty implementations of enable_ms()
Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/nwpserial.c')
-rw-r--r--drivers/tty/serial/nwpserial.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/tty/serial/nwpserial.c b/drivers/tty/serial/nwpserial.c
index 693bc6c2561e..c06366b6bc29 100644
--- a/drivers/tty/serial/nwpserial.c
+++ b/drivers/tty/serial/nwpserial.c
@@ -240,11 +240,6 @@ static void nwpserial_break_ctl(struct uart_port *port, int ctl)
/* N/A */
}
-static void nwpserial_enable_ms(struct uart_port *port)
-{
- /* N/A */
-}
-
static void nwpserial_stop_rx(struct uart_port *port)
{
struct nwpserial_port *up;
@@ -315,7 +310,6 @@ static struct uart_ops nwpserial_pops = {
.stop_tx = nwpserial_stop_tx,
.start_tx = nwpserial_start_tx,
.stop_rx = nwpserial_stop_rx,
- .enable_ms = nwpserial_enable_ms,
.break_ctl = nwpserial_break_ctl,
.startup = nwpserial_startup,
.shutdown = nwpserial_shutdown,