aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/serial/bfin_5xx.c
diff options
context:
space:
mode:
authorSonic Zhang <sonic.zhang@analog.com>2008-10-13 05:33:25 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-10-13 12:51:38 -0400
commit08668ab7c2ca9bed281eb6763e5a8e15384b7fdc (patch)
tree5bb77d99ccb6c11c5137f7195e02a78a9cf64a5f /drivers/serial/bfin_5xx.c
parentc9607ecc6ee50445e4d6bd3165f372a0f20f91ce (diff)
Blackfin Serial Driver: Remove useless stop
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Bryan Wu <cooloney@kernel.org> Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/serial/bfin_5xx.c')
-rw-r--r--drivers/serial/bfin_5xx.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/serial/bfin_5xx.c b/drivers/serial/bfin_5xx.c
index 382fb8d728df..8d2d75706685 100644
--- a/drivers/serial/bfin_5xx.c
+++ b/drivers/serial/bfin_5xx.c
@@ -320,9 +320,6 @@ static void bfin_serial_tx_chars(struct bfin_serial_port *uart)
320 320
321 if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS) 321 if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
322 uart_write_wakeup(&uart->port); 322 uart_write_wakeup(&uart->port);
323
324 if (uart_circ_empty(xmit))
325 bfin_serial_stop_tx(&uart->port);
326} 323}
327 324
328static irqreturn_t bfin_serial_rx_int(int irq, void *dev_id) 325static irqreturn_t bfin_serial_rx_int(int irq, void *dev_id)