summaryrefslogtreecommitdiffstats
path: root/drivers/serial/bfin_5xx.c
diff options
context:
space:
mode:
authorSonic Zhang <sonic.zhang@analog.com>2008-10-13 11:33:25 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-10-13 18:51:38 +0200
commit08668ab7c2ca9bed281eb6763e5a8e15384b7fdc (patch)
tree5bb77d99ccb6c11c5137f7195e02a78a9cf64a5f /drivers/serial/bfin_5xx.c
parentBlackfin Serial Driver: move common variables out of serial headers and into ... (diff)
downloadlinux-08668ab7c2ca9bed281eb6763e5a8e15384b7fdc.tar.xz
linux-08668ab7c2ca9bed281eb6763e5a8e15384b7fdc.zip
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)
if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
uart_write_wakeup(&uart->port);
-
- if (uart_circ_empty(xmit))
- bfin_serial_stop_tx(&uart->port);
}
static irqreturn_t bfin_serial_rx_int(int irq, void *dev_id)