diff --git a/drivers/serial/serial_core.c b/drivers/serial/serial_core.c index 951a75ea6e3efb6b2fe1da174746b3555b8ef615..c9b64e73c9879d10d7bd7e7e4055bd257c083e73 100644 --- a/drivers/serial/serial_core.c +++ b/drivers/serial/serial_core.c @@ -1165,7 +1165,7 @@ uart_ioctl(struct tty_struct *tty, struct file *filp, unsigned int cmd, return ret; } -static void uart_set_ldisc(struct tty_struct *tty, int ldisc) +static void uart_set_ldisc(struct tty_struct *tty) { struct uart_state *state = tty->driver_data; struct uart_port *port = state->port;