X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fcompat%2Fstring.h;h=db3db80522f5fe039f3f5f716f567f6676dfa87f;hb=f86f6389a47137d2f5e8fc707916b6650fd1de00;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;