aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNiklas Cassel <nks@flawful.org>2015-07-24 20:00:40 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-08-05 01:07:19 -0400
commit9625734ff75af35d9878c693e3f92237aa3c1ae6 (patch)
tree559cd754c53d99b5a2605612961f62f6eefcbaba
parent90bb6bd385638f37d30dcc7342a62aff80089def (diff)
serial: etraxfs-uart: remove empty functions
Implementing enable_ms is optional by serial_core. check_modem_status is just an empty local function. Signed-off-by: Niklas Cassel <nks@flawful.org> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Tested-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/tty/serial/etraxfs-uart.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/tty/serial/etraxfs-uart.c b/drivers/tty/serial/etraxfs-uart.c
index 72d89a8ff27e..8f242dc84cea 100644
--- a/drivers/tty/serial/etraxfs-uart.c
+++ b/drivers/tty/serial/etraxfs-uart.c
@@ -366,14 +366,6 @@ static void etraxfs_uart_stop_rx(struct uart_port *port)
366 REG_WR(ser, regi_ser, rw_rec_ctrl, rec_ctrl); 366 REG_WR(ser, regi_ser, rw_rec_ctrl, rec_ctrl);
367} 367}
368 368
369static void etraxfs_uart_enable_ms(struct uart_port *port)
370{
371}
372
373static void check_modem_status(struct uart_cris_port *up)
374{
375}
376
377static unsigned int etraxfs_uart_tx_empty(struct uart_port *port) 369static unsigned int etraxfs_uart_tx_empty(struct uart_port *port)
378{ 370{
379 struct uart_cris_port *up = (struct uart_cris_port *)port; 371 struct uart_cris_port *up = (struct uart_cris_port *)port;
@@ -591,7 +583,6 @@ ser_interrupt(int irq, void *dev_id)
591 receive_chars_no_dma(up); 583 receive_chars_no_dma(up);
592 handled = 1; 584 handled = 1;
593 } 585 }
594 check_modem_status(up);
595 586
596 if (masked_intr.tr_rdy) { 587 if (masked_intr.tr_rdy) {
597 transmit_chars_no_dma(up); 588 transmit_chars_no_dma(up);
@@ -855,7 +846,6 @@ static const struct uart_ops etraxfs_uart_pops = {
855 .start_tx = etraxfs_uart_start_tx, 846 .start_tx = etraxfs_uart_start_tx,
856 .send_xchar = etraxfs_uart_send_xchar, 847 .send_xchar = etraxfs_uart_send_xchar,
857 .stop_rx = etraxfs_uart_stop_rx, 848 .stop_rx = etraxfs_uart_stop_rx,
858 .enable_ms = etraxfs_uart_enable_ms,
859 .break_ctl = etraxfs_uart_break_ctl, 849 .break_ctl = etraxfs_uart_break_ctl,
860 .startup = etraxfs_uart_startup, 850 .startup = etraxfs_uart_startup,
861 .shutdown = etraxfs_uart_shutdown, 851 .shutdown = etraxfs_uart_shutdown,