diff options
Diffstat (limited to 'drivers/tty/serial/serial_core.c')
-rw-r--r-- | drivers/tty/serial/serial_core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/tty/serial/serial_core.c b/drivers/tty/serial/serial_core.c index 6ff9405954a6..890b8832aff2 100644 --- a/drivers/tty/serial/serial_core.c +++ b/drivers/tty/serial/serial_core.c | |||
@@ -674,8 +674,8 @@ static void uart_send_xchar(struct tty_struct *tty, char ch) | |||
674 | static void uart_throttle(struct tty_struct *tty) | 674 | static void uart_throttle(struct tty_struct *tty) |
675 | { | 675 | { |
676 | struct uart_state *state = tty->driver_data; | 676 | struct uart_state *state = tty->driver_data; |
677 | upstat_t mask = UPSTAT_SYNC_FIFO; | ||
677 | struct uart_port *port; | 678 | struct uart_port *port; |
678 | upstat_t mask = 0; | ||
679 | 679 | ||
680 | port = uart_port_ref(state); | 680 | port = uart_port_ref(state); |
681 | if (!port) | 681 | if (!port) |
@@ -703,8 +703,8 @@ static void uart_throttle(struct tty_struct *tty) | |||
703 | static void uart_unthrottle(struct tty_struct *tty) | 703 | static void uart_unthrottle(struct tty_struct *tty) |
704 | { | 704 | { |
705 | struct uart_state *state = tty->driver_data; | 705 | struct uart_state *state = tty->driver_data; |
706 | upstat_t mask = UPSTAT_SYNC_FIFO; | ||
706 | struct uart_port *port; | 707 | struct uart_port *port; |
707 | upstat_t mask = 0; | ||
708 | 708 | ||
709 | port = uart_port_ref(state); | 709 | port = uart_port_ref(state); |
710 | if (!port) | 710 | if (!port) |