summaryrefslogtreecommitdiff
path: root/src/cpu/allwinner/a10/uart.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2016-10-02 10:23:01 +0200
committerMartin Roth <martinroth@google.com>2016-10-07 18:08:25 +0200
commit90ba1897441bd93ac1450805f84be8cbb0c9cebe (patch)
tree7d5b46af169ccaed2ae0eafa81570ced70cf5ba0 /src/cpu/allwinner/a10/uart.c
parent035df005c5b9b473c2d61601c098792a34527a52 (diff)
src/cpu: Remove unnecessary whitespace
Change-Id: I0903b7ca9eada4beacfcdbcacddec23c3515651e Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/16850 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/cpu/allwinner/a10/uart.c')
-rw-r--r--src/cpu/allwinner/a10/uart.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/allwinner/a10/uart.c b/src/cpu/allwinner/a10/uart.c
index b976d30c61..45dcaed1b2 100644
--- a/src/cpu/allwinner/a10/uart.c
+++ b/src/cpu/allwinner/a10/uart.c
@@ -82,7 +82,7 @@ static int rx_fifo_empty(struct a10_uart *uart)
*/
static u8 a10_uart_rx_blocking(struct a10_uart *uart)
{
- while (rx_fifo_empty(uart)) ;
+ while (rx_fifo_empty(uart));
return read32(&uart->rbr);
}
@@ -94,7 +94,7 @@ static u8 a10_uart_rx_blocking(struct a10_uart *uart)
*/
static void a10_uart_tx_blocking(struct a10_uart *uart, u8 data)
{
- while (tx_fifo_full(uart)) ;
+ while (tx_fifo_full(uart));
return write32(&uart->thr, data);
}