[PATCH] TTY layer buffering revamp
[deliverable/linux.git] / drivers / serial / amba-pl010.c
index 48f6e872314bb2a1acf12efc7b003739707d2c9e..3490022e9fdc7e923d265eb06e635f4dc32e5026 100644 (file)
@@ -154,15 +154,6 @@ pl010_rx_chars(struct uart_port *port)
 
        status = UART_GET_FR(port);
        while (UART_RX_DATA(status) && max_count--) {
-               if (tty->flip.count >= TTY_FLIPBUF_SIZE) {
-                       if (tty->low_latency)
-                               tty_flip_buffer_push(tty);
-                       /*
-                        * If this failed then we will throw away the
-                        * bytes but must do so to clear interrupts.
-                        */
-               }
-
                ch = UART_GET_CHAR(port);
                flag = TTY_NORMAL;
 
This page took 0.024994 seconds and 5 git commands to generate.