Commit 9d9011bd authored by Daeseok Youn's avatar Daeseok Youn Committed by Greg Kroah-Hartman

staging: dgap: remove unused variable in dgap_param()

The "ts" is not used in dgap_param().
Signed-off-by: default avatarDaeseok Youn <daeseok.youn@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6299ae5a
...@@ -5068,7 +5068,6 @@ static void dgap_firmware_reset_port(struct channel_t *ch) ...@@ -5068,7 +5068,6 @@ static void dgap_firmware_reset_port(struct channel_t *ch)
*=======================================================================*/ *=======================================================================*/
static int dgap_param(struct tty_struct *tty) static int dgap_param(struct tty_struct *tty)
{ {
struct ktermios *ts;
struct board_t *bd; struct board_t *bd;
struct channel_t *ch; struct channel_t *ch;
struct bs_t __iomem *bs; struct bs_t __iomem *bs;
...@@ -5098,8 +5097,6 @@ static int dgap_param(struct tty_struct *tty) ...@@ -5098,8 +5097,6 @@ static int dgap_param(struct tty_struct *tty)
if (!bs) if (!bs)
return -EIO; return -EIO;
ts = &tty->termios;
/* /*
* If baud rate is zero, flush queues, and set mval to drop DTR. * If baud rate is zero, flush queues, and set mval to drop DTR.
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment