summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-04-17 17:07:57 -0700
committerDavid S. Miller <davem@davemloft.net>2011-04-17 17:07:57 -0700
commit9365f11a5321bcff5579799a071a70c5cacb5e65 (patch)
treebe3aa218e506ebe8d5c20910e4cb36b0e49bf340 /drivers
parentb169f6db40605d0907458d1ff78ceac2b194a44f (diff)
downloadop-kernel-dev-9365f11a5321bcff5579799a071a70c5cacb5e65.zip
op-kernel-dev-9365f11a5321bcff5579799a071a70c5cacb5e65.tar.gz
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')
-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 607d846..d850427 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) {
OpenPOWER on IntegriCloud