diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2013-01-17 07:45:13 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-17 20:31:24 -0500 |
commit | 45e786a6baeff2fa6a350bed5b880e2e9381deaf (patch) | |
tree | dee9ca0bca5ec76eca0b84599224c8d38ad51df4 /drivers/tty | |
parent | ed35e09248c12d246b49b6b3ce9fdcec8a5badb6 (diff) |
serial: imx: Remove unused 'tty' variable
Commit 2e124b4a39 (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: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty')
-rw-r--r-- | drivers/tty/serial/imx.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c index be26345bf6a4..a220f77ceab6 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) | |||
516 | { | 516 | { |
517 | struct imx_port *sport = dev_id; | 517 | struct imx_port *sport = dev_id; |
518 | unsigned int rx, flg, ignored = 0; | 518 | unsigned int rx, flg, ignored = 0; |
519 | struct tty_struct *tty = sport->port.state->port.tty; | ||
520 | struct tty_port *port = &sport->port.state->port; | 519 | struct tty_port *port = &sport->port.state->port; |
521 | unsigned long flags, temp; | 520 | unsigned long flags, temp; |
522 | 521 | ||