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_pll.c | |
parent | 058d0bf5f09a4488b6d7f3d3aa5fa0958e886c3b (diff) | |
download | gdb-ee45e43358fdd19cbf061f813c8c544c5e225606.zip gdb-ee45e43358fdd19cbf061f813c8c544c5e225606.tar.gz gdb-ee45e43358fdd19cbf061f813c8c544c5e225606.tar.bz2 |
sim: bfin: fix -Wunused-but-set-variable warnings
Diffstat (limited to 'sim/bfin/dv-bfin_pll.c')
-rw-r--r-- | sim/bfin/dv-bfin_pll.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sim/bfin/dv-bfin_pll.c b/sim/bfin/dv-bfin_pll.c index dd95013..863b07f 100644 --- a/sim/bfin/dv-bfin_pll.c +++ b/sim/bfin/dv-bfin_pll.c @@ -56,7 +56,6 @@ bfin_pll_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. */ @@ -71,7 +70,6 @@ bfin_pll_io_write_buffer (struct hw *me, const void *source, mmr_off = addr - pll->base; valuep = (void *)((uintptr_t)pll + mmr_base() + mmr_off); value16p = valuep; - value32p = valuep; HW_TRACE_WRITE (); |