summaryrefslogtreecommitdiffstats
path: root/drivers/staging/dgap
diff options
context:
space:
mode:
authorDaeseok Youn <daeseok.youn@gmail.com>2014-07-11 19:22:21 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-11 17:35:45 -0700
commit9d9011bd8697bd636e54ae96f2895f170a8d4279 (patch)
tree31e8fcff83e2006702a197301c0ecfa266481af7 /drivers/staging/dgap
parent6299ae5aa7bc82cf0cd43e800c4857dba3e4d6e5 (diff)
staging: dgap: remove unused variable in dgap_param()
The "ts" is not used in dgap_param(). Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/dgap')
-rw-r--r--drivers/staging/dgap/dgap.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/dgap/dgap.c b/drivers/staging/dgap/dgap.c
index 79ea11696a23..ad7b462796ed 100644
--- a/drivers/staging/dgap/dgap.c
+++ b/drivers/staging/dgap/dgap.c
@@ -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.
*/