]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
TTY: serial/msm_serial_hs, remove unused tty
authorJiri Slaby <jslaby@suse.cz>
Thu, 7 Mar 2013 12:12:33 +0000 (13:12 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Mar 2013 23:24:30 +0000 (16:24 -0700)
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/msm_serial_hs.c

index 4a942c78347e43e930bec1f1ee67c6854432180b..4ca2f64861e6ce531546f996a5a1bf3718af0344 100644 (file)
@@ -907,7 +907,6 @@ static void msm_hs_dmov_rx_callback(struct msm_dmov_cmd *cmd_ptr,
        unsigned int error_f = 0;
        unsigned long flags;
        unsigned int flush;
-       struct tty_struct *tty;
        struct tty_port *port;
        struct uart_port *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);
 
        port = &uport->state->port;
-       tty = port->tty;
 
        msm_hs_write(uport, UARTDM_CR_ADDR, STALE_EVENT_DISABLE);