diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-11-07 11:41:07 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-11-08 12:58:31 +0100 |
commit | 2e67c95022977a839c9c1c3acee19c4ec98a0d62 (patch) | |
tree | 45a11eb4e3e3663b14c3ae825d32d614f67230ea /drivers/tty | |
parent | 8191762a21a056faefb00a11eabe3d377ad88c39 (diff) | |
download | linux-2e67c95022977a839c9c1c3acee19c4ec98a0d62.tar.gz linux-2e67c95022977a839c9c1c3acee19c4ec98a0d62.tar.bz2 linux-2e67c95022977a839c9c1c3acee19c4ec98a0d62.zip |
tty: serial: jsm: remove redundant pointer ts
Pointer ts is assigned a value that is never read, ts is therefore
redundant and can be removed. Cleans up clang warning:
drivers/tty/serial/jsm/jsm_tty.c:285:2: warning: Value stored to 'ts'
is never read
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Guilherme G. Piccoli <gpiccoli@linux.vnet.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty')
-rw-r--r-- | drivers/tty/serial/jsm/jsm_tty.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/tty/serial/jsm/jsm_tty.c b/drivers/tty/serial/jsm/jsm_tty.c index cbbadafe61fb..b34def0a3fb3 100644 --- a/drivers/tty/serial/jsm/jsm_tty.c +++ b/drivers/tty/serial/jsm/jsm_tty.c @@ -276,14 +276,12 @@ static int jsm_tty_open(struct uart_port *port) static void jsm_tty_close(struct uart_port *port) { struct jsm_board *bd; - struct ktermios *ts; struct jsm_channel *channel = container_of(port, struct jsm_channel, uart_port); jsm_dbg(CLOSE, &channel->ch_bd->pci_dev, "start\n"); bd = channel->ch_bd; - ts = &port->state->port.tty->termios; channel->ch_flags &= ~(CH_STOPI); |