diff options
author | Mike Frysinger <vapier@gentoo.org> | 2023-12-06 06:38:29 -0700 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2023-12-07 21:41:27 -0700 |
commit | ee45e43358fdd19cbf061f813c8c544c5e225606 (patch) | |
tree | fb8ce09063e95acc2d2453ae8dda4f934e4fa9cc /sim/bfin/dv-bfin_rtc.c | |
parent | 058d0bf5f09a4488b6d7f3d3aa5fa0958e886c3b (diff) | |
download | fsf-binutils-gdb-ee45e43358fdd19cbf061f813c8c544c5e225606.zip fsf-binutils-gdb-ee45e43358fdd19cbf061f813c8c544c5e225606.tar.gz fsf-binutils-gdb-ee45e43358fdd19cbf061f813c8c544c5e225606.tar.bz2 |
sim: bfin: fix -Wunused-but-set-variable warnings
Diffstat (limited to 'sim/bfin/dv-bfin_rtc.c')
-rw-r--r-- | sim/bfin/dv-bfin_rtc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sim/bfin/dv-bfin_rtc.c b/sim/bfin/dv-bfin_rtc.c index b6ae0a5..fdb63f3 100644 --- a/sim/bfin/dv-bfin_rtc.c +++ b/sim/bfin/dv-bfin_rtc.c @@ -59,7 +59,6 @@ bfin_rtc_io_write_buffer (struct hw *me, const void *source, bu32 mmr_off; bu32 value; bu16 *value16p; - bu32 *value32p; void *valuep; /* Invalid access mode is higher priority than missing register. */ @@ -74,7 +73,6 @@ bfin_rtc_io_write_buffer (struct hw *me, const void *source, mmr_off = addr - rtc->base; valuep = (void *)((uintptr_t)rtc + mmr_base() + mmr_off); value16p = valuep; - value32p = valuep; HW_TRACE_WRITE (); |