Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -5068,7 +5068,6 @@ static void dgap_firmware_reset_port(struct channel_t *ch)
 *=======================================================================*/
static int dgap_param(struct tty_struct *tty)
{
	struct ktermios *ts;
	struct board_t *bd;
	struct channel_t *ch;
	struct bs_t __iomem *bs;
@@ -5098,8 +5097,6 @@ static int dgap_param(struct tty_struct *tty)
	if (!bs)
		return -EIO;

	ts = &tty->termios;

	/*
	 * If baud rate is zero, flush queues, and set mval to drop DTR.
	 */