sim: m32r: fix -Wunused-variable warnings

This commit is contained in:
Mike Frysinger 2023-12-15 22:25:10 -05:00
parent 9340c17241
commit 568b2f90c7

View File

@ -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)