X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=src%2Fcommon%2Fcompat%2Fstring.h;h=db3db80522f5fe039f3f5f716f567f6676dfa87f;hb=373148e9cedd5ec0b2302f4afe3ecd543e405f4f;hp=7c426ef3de3bd97e5056ef469f6db6cb528b1c61;hpb=afc5df0361caae100946d58aa557433891d52cb3;p=lttng-tools.git diff --git a/src/common/compat/string.h b/src/common/compat/string.h index 7c426ef3d..db3db8052 100644 --- a/src/common/compat/string.h +++ b/src/common/compat/string.h @@ -117,7 +117,6 @@ static inline int lttng_fls(int val) r -= 2; } if (!(x & 0x80000000U)) { - x <<= 1; r -= 1; } return r;