aboutsummaryrefslogtreecommitdiff
path: root/hw/omap2.c
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2010-04-25 19:31:06 +0000
committerBlue Swirl <blauwirbel@gmail.com>2010-04-25 19:31:06 +0000
commit22ed1d34789b184aaaa28c1e4620ce4467744cec (patch)
tree1402cbaab355bffa77a60e37c74ef54c3032b45d /hw/omap2.c
parent7f5b7d3e2c19c0aa52dcac0a10d473c7fd142450 (diff)
downloadqemu-22ed1d34789b184aaaa28c1e4620ce4467744cec.zip
qemu-22ed1d34789b184aaaa28c1e4620ce4467744cec.tar.gz
qemu-22ed1d34789b184aaaa28c1e4620ce4467744cec.tar.bz2
arm: remove dead assignments, spotted by clang analyzer
Value stored is never read. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/omap2.c')
-rw-r--r--hw/omap2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/omap2.c b/hw/omap2.c
index a3fa89d..bd1b35e 100644
--- a/hw/omap2.c
+++ b/hw/omap2.c
@@ -1968,7 +1968,7 @@ struct omap_eac_s *omap_eac_init(struct omap_target_agent_s *ta,
s->irq = irq;
s->codec.rxdrq = *drq ++;
- s->codec.txdrq = *drq ++;
+ s->codec.txdrq = *drq;
omap_eac_reset(s);
#ifdef HAS_AUDIO