]> git.proxmox.com Git - qemu.git/blobdiff - hw/pflash_cfi01.c
arm: remove dead assignments, spotted by clang analyzer
[qemu.git] / hw / pflash_cfi01.c
index 6b2adba87ddec8f82c7611674584d6e66755d360..20fe93d63c4db4356029f0323e0dfda1a34b96ff 100644 (file)
@@ -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)