summaryrefslogtreecommitdiffstats
path: root/src/core/serial.c
diff options
context:
space:
mode:
authorMarty Connor2007-07-02 21:26:40 +0200
committerMarty Connor2007-07-02 21:26:40 +0200
commitbf871c4d03f1dd00a196e15df5267e8be0c8878c (patch)
tree85c823e5fa4fd9202f6655401d95de8dd6b9cc12 /src/core/serial.c
parentBuild bochs with ne2000 support, and add sample lines in bochsrc.txt (diff)
downloadipxe-bf871c4d03f1dd00a196e15df5267e8be0c8878c.tar.gz
ipxe-bf871c4d03f1dd00a196e15df5267e8be0c8878c.tar.xz
ipxe-bf871c4d03f1dd00a196e15df5267e8be0c8878c.zip
Warnings purge of src/core
Diffstat (limited to 'src/core/serial.c')
-rw-r--r--src/core/serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/serial.c b/src/core/serial.c
index d0827481..63040377 100644
--- a/src/core/serial.c
+++ b/src/core/serial.c
@@ -213,7 +213,7 @@ static void serial_init ( void ) {
/* rx buffer reg
* throw away (unconditionally the first time)
*/
- uart_readb(UART_BASE + UART_RBR);
+ (void) uart_readb(UART_BASE + UART_RBR);
/* line status reg */
status = uart_readb(UART_BASE + UART_LSR);
} while(status & UART_LSR_DR);