Merge branch 'fio-docs-ci' of https://github.com/vincentkfu/fio
[fio.git] / lib / fls.h
index dc7ecd0d629c94afe22a599739e76d68cb39922c..99e1862a34c5047d487b6ad2f300f61969dd8c3c 100644 (file)
--- a/lib/fls.h
+++ b/lib/fls.h
@@ -32,7 +32,6 @@ static inline int __fls(int x)
                r -= 2;
        }
        if (!(x & 0x80000000u)) {
-               x <<= 1;
                r -= 1;
        }
        return r;