projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b169f6d
)
isdn: i4l: isdn_tty: Fix unused-but-set variables.
author
David S. Miller
<davem@davemloft.net>
Mon, 18 Apr 2011 00:07:57 +0000
(17:07 -0700)
committer
David 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
patch
|
blob
|
history
diff --git
a/drivers/isdn/i4l/isdn_tty.c
b/drivers/isdn/i4l/isdn_tty.c
index 607d846ae0635c6caefea06f5173c4d814d94fbf..d8504279e502faba47beeee40dcd4b937b0370cf 100644
(file)
--- 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) {