]> git.karo-electronics.de Git - linux-beck.git/commit
serial: arc_uart: Use uart_circ_empty() for open-coded comparison
authorPeter Hurley <peter@hurleysoftware.com>
Sun, 6 Jul 2014 15:29:53 +0000 (11:29 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Jul 2014 23:31:34 +0000 (16:31 -0700)
commit99ecb001f52ef10ebf686d4e55b1cf64b1e56aa6
tree5ae0e765c1e9a7f1da073760c033e16c2b953f26
parentc557d392fbf5badd693ea1946a4317c87a26a716
serial: arc_uart: Use uart_circ_empty() for open-coded comparison

Replace open-coded test for empty tx ring buffer with equivalent
helper function, uart_circ_empty(). No functional change.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/arc_uart.c