diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c index be26345bf6a4e0944b8dbb6212bf33856ed36bb0..a220f77ceab60ba8060a8121f7c510230b580421 100644 --- a/drivers/tty/serial/imx.c +++ b/drivers/tty/serial/imx.c @@ -516,7 +516,6 @@ static irqreturn_t imx_rxint(int irq, void *dev_id) { struct imx_port *sport = dev_id; unsigned int rx, flg, ignored = 0; - struct tty_struct *tty = sport->port.state->port.tty; struct tty_port *port = &sport->port.state->port; unsigned long flags, temp;