X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fcompat%2Fstring.h;fp=src%2Fcommon%2Fcompat%2Fstring.h;h=db3db80522f5fe039f3f5f716f567f6676dfa87f;hb=157b2d445425611ab8ada02e34204cd9134c2acc;hp=7c426ef3de3bd97e5056ef469f6db6cb528b1c61;hpb=84a7eb731975042c535645dd747a51825b302f93;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;