diff options
author | Marty Connor | 2007-07-02 21:26:40 +0200 |
---|---|---|
committer | Marty Connor | 2007-07-02 21:26:40 +0200 |
commit | bf871c4d03f1dd00a196e15df5267e8be0c8878c (patch) | |
tree | 85c823e5fa4fd9202f6655401d95de8dd6b9cc12 /src/core/serial.c | |
parent | Build bochs with ne2000 support, and add sample lines in bochsrc.txt (diff) | |
download | ipxe-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.c | 2 |
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); |