From 22ed1d34789b184aaaa28c1e4620ce4467744cec Mon Sep 17 00:00:00 2001 From: Blue Swirl Date: Sun, 25 Apr 2010 19:31:06 +0000 Subject: arm: remove dead assignments, spotted by clang analyzer Value stored is never read. Signed-off-by: Blue Swirl --- hw/wm8750.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'hw/wm8750.c') diff --git a/hw/wm8750.c b/hw/wm8750.c index 6064da0413..ce43c234ac 100644 --- a/hw/wm8750.c +++ b/hw/wm8750.c @@ -62,12 +62,11 @@ static const uint8_t wm8750_vol_db_table[] = { static inline void wm8750_in_load(WM8750State *s) { - int acquired; if (s->idx_in + s->req_in <= sizeof(s->data_in)) return; s->idx_in = audio_MAX(0, (int) sizeof(s->data_in) - s->req_in); - acquired = AUD_read(*s->in[0], s->data_in + s->idx_in, - sizeof(s->data_in) - s->idx_in); + AUD_read(*s->in[0], s->data_in + s->idx_in, + sizeof(s->data_in) - s->idx_in); } static inline void wm8750_out_flush(WM8750State *s) -- cgit v1.2.3