2011-10-13 Ralf Corsépius <ralf.corsepius@rtems.org>

* shared/comm/uart.c: Remove unused var "tmp".
This commit is contained in:
Ralf Corsepius
2011-10-13 12:18:39 +00:00
parent 053974f8b9
commit 04a5c54911
2 changed files with 7 additions and 5 deletions

View File

@@ -1,3 +1,7 @@
2011-10-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* shared/comm/uart.c: Remove unused var "tmp".
2011-08-04 Till Straumann <strauman@slac.stanford.edu> 2011-08-04 Till Straumann <strauman@slac.stanford.edu>
* shared/irq/irq_asm.S: BUGFIX (introduced by SMP changes * shared/irq/irq_asm.S: BUGFIX (introduced by SMP changes

View File

@@ -110,8 +110,6 @@ BSP_uart_init
int hwFlow int hwFlow
) )
{ {
unsigned char tmp;
/* Sanity check */ /* Sanity check */
assert(uart == BSP_UART_COM1 || uart == BSP_UART_COM2); assert(uart == BSP_UART_COM1 || uart == BSP_UART_COM2);
@@ -156,9 +154,9 @@ BSP_uart_init
uwrite(uart, IER, 0); uwrite(uart, IER, 0);
/* Read status to clear them */ /* Read status to clear them */
tmp = uread(uart, LSR); uread(uart, LSR);
tmp = uread(uart, RBR); uread(uart, RBR);
tmp = uread(uart, MSR); uread(uart, MSR);
/* Remember state */ /* Remember state */
uart_data[uart].baud = baud; uart_data[uart].baud = baud;