aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/serial/bfin_5xx.c
diff options
context:
space:
mode:
authorSonic Zhang <sonic.zhang@analog.com>2008-10-13 10:33:25 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2008-10-13 09:51:38 -0700
commit08668ab7c2ca9bed281eb6763e5a8e15384b7fdc (patch)
tree5bb77d99ccb6c11c5137f7195e02a78a9cf64a5f /drivers/serial/bfin_5xx.c
parentc9607ecc6ee50445e4d6bd3165f372a0f20f91ce (diff)
downloadkernel_samsung_crespo-08668ab7c2ca9bed281eb6763e5a8e15384b7fdc.zip
kernel_samsung_crespo-08668ab7c2ca9bed281eb6763e5a8e15384b7fdc.tar.gz
kernel_samsung_crespo-08668ab7c2ca9bed281eb6763e5a8e15384b7fdc.tar.bz2
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 382fb8d..8d2d757 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)