Commit 9625734f authored by Niklas Cassel's avatar Niklas Cassel Committed by Greg Kroah-Hartman

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: default avatarNiklas Cassel <nks@flawful.org>
Reviewed-by: default avatarGuenter Roeck <linux@roeck-us.net>
Tested-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 90bb6bd3
...@@ -366,14 +366,6 @@ static void etraxfs_uart_stop_rx(struct uart_port *port) ...@@ -366,14 +366,6 @@ static void etraxfs_uart_stop_rx(struct uart_port *port)
REG_WR(ser, regi_ser, rw_rec_ctrl, rec_ctrl); REG_WR(ser, regi_ser, rw_rec_ctrl, rec_ctrl);
} }
static void etraxfs_uart_enable_ms(struct uart_port *port)
{
}
static void check_modem_status(struct uart_cris_port *up)
{
}
static unsigned int etraxfs_uart_tx_empty(struct uart_port *port) static unsigned int etraxfs_uart_tx_empty(struct uart_port *port)
{ {
struct uart_cris_port *up = (struct uart_cris_port *)port; struct uart_cris_port *up = (struct uart_cris_port *)port;
...@@ -591,7 +583,6 @@ ser_interrupt(int irq, void *dev_id) ...@@ -591,7 +583,6 @@ ser_interrupt(int irq, void *dev_id)
receive_chars_no_dma(up); receive_chars_no_dma(up);
handled = 1; handled = 1;
} }
check_modem_status(up);
if (masked_intr.tr_rdy) { if (masked_intr.tr_rdy) {
transmit_chars_no_dma(up); transmit_chars_no_dma(up);
...@@ -855,7 +846,6 @@ static const struct uart_ops etraxfs_uart_pops = { ...@@ -855,7 +846,6 @@ static const struct uart_ops etraxfs_uart_pops = {
.start_tx = etraxfs_uart_start_tx, .start_tx = etraxfs_uart_start_tx,
.send_xchar = etraxfs_uart_send_xchar, .send_xchar = etraxfs_uart_send_xchar,
.stop_rx = etraxfs_uart_stop_rx, .stop_rx = etraxfs_uart_stop_rx,
.enable_ms = etraxfs_uart_enable_ms,
.break_ctl = etraxfs_uart_break_ctl, .break_ctl = etraxfs_uart_break_ctl,
.startup = etraxfs_uart_startup, .startup = etraxfs_uart_startup,
.shutdown = etraxfs_uart_shutdown, .shutdown = etraxfs_uart_shutdown,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment