projects
/
platform
/
upstream
/
binutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9340c17
)
sim: m32r: fix -Wunused-variable warnings
author
Mike Frysinger
<vapier@gentoo.org>
Sat, 16 Dec 2023 03:25:10 +0000
(22:25 -0500)
committer
Mike Frysinger
<vapier@gentoo.org>
Tue, 19 Dec 2023 10:51:10 +0000
(
05:51
-0500)
sim/m32r/dv-m32r_uart.c
patch
|
blob
|
history
diff --git
a/sim/m32r/dv-m32r_uart.c
b/sim/m32r/dv-m32r_uart.c
index
6c87858
..
761b4e8
100644
(file)
--- 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)