TTY: serial/msm_serial_hs, remove unused tty

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Jiri Slaby 2013-03-07 13:12:33 +01:00 committed by Greg Kroah-Hartman
parent e99c33b9d3
commit 4d29994ddb

View File

@ -907,7 +907,6 @@ static void msm_hs_dmov_rx_callback(struct msm_dmov_cmd *cmd_ptr,
unsigned int error_f = 0; unsigned int error_f = 0;
unsigned long flags; unsigned long flags;
unsigned int flush; unsigned int flush;
struct tty_struct *tty;
struct tty_port *port; struct tty_port *port;
struct uart_port *uport; struct uart_port *uport;
struct msm_hs_port *msm_uport; struct msm_hs_port *msm_uport;
@ -919,7 +918,6 @@ static void msm_hs_dmov_rx_callback(struct msm_dmov_cmd *cmd_ptr,
clk_enable(msm_uport->clk); clk_enable(msm_uport->clk);
port = &uport->state->port; port = &uport->state->port;
tty = port->tty;
msm_hs_write(uport, UARTDM_CR_ADDR, STALE_EVENT_DISABLE); msm_hs_write(uport, UARTDM_CR_ADDR, STALE_EVENT_DISABLE);