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/pflash_cfi02.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'hw/pflash_cfi02.c') diff --git a/hw/pflash_cfi02.c b/hw/pflash_cfi02.c index bd6397be23..f3d3f41a90 100644 --- a/hw/pflash_cfi02.c +++ b/hw/pflash_cfi02.c @@ -582,7 +582,9 @@ static int ctz32 (uint32_t n) } if (!(n & 0x1)) { ret++; +#if 0 /* This is not necessary as n is never 0 */ n = n >> 1; +#endif } #if 0 /* This is not necessary as n is never 0 */ if (!n) -- cgit v1.2.3