提交 9365f11a 编写于 作者: D David S. Miller

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: NDavid S. Miller <davem@davemloft.net>
上级 b169f6db
...@@ -998,7 +998,6 @@ isdn_tty_change_speed(modem_info * info) ...@@ -998,7 +998,6 @@ isdn_tty_change_speed(modem_info * info)
{ {
uint cflag, uint cflag,
cval, cval,
fcr,
quot; quot;
int i; int i;
...@@ -1037,7 +1036,6 @@ isdn_tty_change_speed(modem_info * info) ...@@ -1037,7 +1036,6 @@ isdn_tty_change_speed(modem_info * info)
cval |= UART_LCR_PARITY; cval |= UART_LCR_PARITY;
if (!(cflag & PARODD)) if (!(cflag & PARODD))
cval |= UART_LCR_EPAR; cval |= UART_LCR_EPAR;
fcr = 0;
/* CTS flow control flag and modem status interrupts */ /* CTS flow control flag and modem status interrupts */
if (cflag & CRTSCTS) { if (cflag & CRTSCTS) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册