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_cfi01.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'hw/pflash_cfi01.c') diff --git a/hw/pflash_cfi01.c b/hw/pflash_cfi01.c index 6b2adba..20fe93d 100644 --- a/hw/pflash_cfi01.c +++ b/hw/pflash_cfi01.c @@ -542,7 +542,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.1