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_cfi02.c | |
parent | 7f5b7d3e2c19c0aa52dcac0a10d473c7fd142450 (diff) | |
download | qemu-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/pflash_cfi02.c')
-rw-r--r-- | hw/pflash_cfi02.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/pflash_cfi02.c b/hw/pflash_cfi02.c index bd6397b..f3d3f41 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) |