]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
isdn: i4l: isdn_tty: Fix unused-but-set variables.
authorDavid S. Miller <davem@davemloft.net>
Mon, 18 Apr 2011 00:07:57 +0000 (17:07 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Apr 2011 00:07:57 +0000 (17:07 -0700)
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>
drivers/isdn/i4l/isdn_tty.c

index 607d846ae0635c6caefea06f5173c4d814d94fbf..d8504279e502faba47beeee40dcd4b937b0370cf 100644 (file)
@@ -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) {