Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 45e786a6 authored by Fabio Estevam's avatar Fabio Estevam Committed by Greg Kroah-Hartman
Browse files

serial: imx: Remove unused 'tty' variable



Commit 2e124b4a (TTY: switch tty_flip_buffer_push) introduced the following
build warning:

drivers/tty/serial/imx.c:519:21: warning: unused variable 'tty' [-Wunused-variable]

Remove the unused 'tty' variable.

Signed-off-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ed35e092
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;