summaryrefslogtreecommitdiffstats
path: root/drivers/isdn
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-04-18 02:07:57 +0200
committerDavid S. Miller <davem@davemloft.net>2011-04-18 02:07:57 +0200
commit9365f11a5321bcff5579799a071a70c5cacb5e65 (patch)
treebe3aa218e506ebe8d5c20910e4cb36b0e49bf340 /drivers/isdn
parentnetfilter: ip6table_mangle: Fix set-but-unused variables. (diff)
downloadlinux-9365f11a5321bcff5579799a071a70c5cacb5e65.tar.xz
linux-9365f11a5321bcff5579799a071a70c5cacb5e65.zip
isdn: i4l: isdn_tty: Fix unused-but-set variables.
The variable 'fcr' is set but not used in isdn_tty_change_speed(). Just kill it off. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn')
-rw-r--r--drivers/isdn/i4l/isdn_tty.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/isdn/i4l/isdn_tty.c b/drivers/isdn/i4l/isdn_tty.c
index 607d846ae063..d8504279e502 100644
--- a/drivers/isdn/i4l/isdn_tty.c
+++ b/drivers/isdn/i4l/isdn_tty.c
@@ -998,7 +998,6 @@ isdn_tty_change_speed(modem_info * info)
{
uint cflag,
cval,
- fcr,
quot;
int i;
@@ -1037,7 +1036,6 @@ isdn_tty_change_speed(modem_info * info)
cval |= UART_LCR_PARITY;
if (!(cflag & PARODD))
cval |= UART_LCR_EPAR;
- fcr = 0;
/* CTS flow control flag and modem status interrupts */
if (cflag & CRTSCTS) {