[PATCH] TTY layer buffering revamp
[deliverable/linux.git] / drivers / serial / sa1100.c
index 0e3daf6d7b502575f05baf78d90bb7f37919f2d2..1bd93168f504117440acf790f2e0bfbe384d6c5c 100644 (file)
@@ -161,7 +161,6 @@ static void sa1100_stop_tx(struct uart_port *port)
 static void sa1100_start_tx(struct uart_port *port)
 {
        struct sa1100_port *sport = (struct sa1100_port *)port;
-       unsigned long flags;
        u32 utcr3;
 
        utcr3 = UART_GET_UTCR3(sport);
@@ -202,8 +201,6 @@ sa1100_rx_chars(struct sa1100_port *sport, struct pt_regs *regs)
        while (status & UTSR1_TO_SM(UTSR1_RNE)) {
                ch = UART_GET_CHAR(sport);
 
-               if (tty->flip.count >= TTY_FLIPBUF_SIZE)
-                       goto ignore_char;
                sport->port.icount.rx++;
 
                flg = TTY_NORMAL;
This page took 0.030739 seconds and 5 git commands to generate.