diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2010-04-25 19:31:06 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-04-25 19:31:06 +0000 |
commit | 22ed1d34789b184aaaa28c1e4620ce4467744cec (patch) | |
tree | 1402cbaab355bffa77a60e37c74ef54c3032b45d /hw/pflash_cfi01.c | |
parent | 7f5b7d3e2c19c0aa52dcac0a10d473c7fd142450 (diff) |
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/pflash_cfi01.c')
-rw-r--r-- | hw/pflash_cfi01.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/pflash_cfi01.c b/hw/pflash_cfi01.c index 6b2adba87d..20fe93d63c 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) |