Message ID | 20231219105155.10433-13-vapier@gentoo.org |
---|---|
State | New |
Headers | |
Series | [PATCH/committed,01/21] sim: common: fix -Wunused-variable warnings | |
Checks
Context | Check | Description |
---|---|---|
linaro-tcwg-bot/tcwg_gdb_build--master-aarch64 | warning | Patch is already merged |
linaro-tcwg-bot/tcwg_gdb_build--master-arm | warning | Patch is already merged |
Commit Message
diff --git a/sim/m32r/dv-m32r_uart.c b/sim/m32r/dv-m32r_uart.c index 6c8785881dea..761b4e8edbda 100644 --- a/sim/m32r/dv-m32r_uart.c +++ b/sim/m32r/dv-m32r_uart.c @@ -36,7 +36,6 @@ m32r_uart_io_write_buffer (struct hw *me, const void *source, int space, address_word addr, unsigned nr_bytes) { SIM_DESC sd = hw_system (me); - struct m32r_uart *uart = hw_data (me); int status = dv_sockser_status (sd); switch (addr) @@ -65,7 +64,6 @@ m32r_uart_io_read_buffer (struct hw *me, void *dest, int space, address_word addr, unsigned nr_bytes) { SIM_DESC sd = hw_system (me); - struct m32r_uart *uart = hw_data (me); int status = dv_sockser_status (sd); switch (addr)