diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2013-01-17 13:45:13 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-18 02:31:24 +0100 |
commit | 45e786a6baeff2fa6a350bed5b880e2e9381deaf (patch) | |
tree | dee9ca0bca5ec76eca0b84599224c8d38ad51df4 /drivers/tty | |
parent | serial: pxa: Do not tweak clock in pxa serial write() function (diff) | |
download | linux-45e786a6baeff2fa6a350bed5b880e2e9381deaf.tar.xz linux-45e786a6baeff2fa6a350bed5b880e2e9381deaf.zip |
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) { 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; |