x is never reused, no need to shift it
[lttng-tools.git] / src / common / compat / string.h
index 7c426ef3de3bd97e5056ef469f6db6cb528b1c61..db3db80522f5fe039f3f5f716f567f6676dfa87f 100644 (file)
@@ -117,7 +117,6 @@ static inline int lttng_fls(int val)
                r -= 2;
        }
        if (!(x & 0x80000000U)) {
-               x <<= 1;
                r -= 1;
        }
        return r;
This page took 0.024112 seconds and 5 git commands to generate.