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 | c4fd86d742706fb95268f7cfce793ac2dcdd1d4a (patch) | |
tree | 1402cbaab355bffa77a60e37c74ef54c3032b45d /hw/pflash_cfi02.c | |
parent | 200d8ed7427f1de5b4d74ce0721229197fc97c02 (diff) | |
download | qemu-c4fd86d742706fb95268f7cfce793ac2dcdd1d4a.tar.gz qemu-c4fd86d742706fb95268f7cfce793ac2dcdd1d4a.tar.bz2 qemu-c4fd86d742706fb95268f7cfce793ac2dcdd1d4a.zip |
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 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) |