CLEANUP: remove unused code in 'my_ffsl/my_flsl' functions

Shifting the variable 'a' one bit to the right has no effect on the
result of the functions.
This commit is contained in:
Miroslav Zagorac 2020-03-08 16:32:20 +01:00 committed by Willy Tarreau
parent 2075ca8a93
commit d7dc67ba1d

View File

@ -902,7 +902,6 @@ static inline unsigned int my_ffsl(unsigned long a)
cnt += 2;
}
if (!(a & 0x1)) {
a >>= 1;
cnt += 1;
}
#endif /* x86_64 */
@ -946,7 +945,6 @@ static inline unsigned int my_flsl(unsigned long a)
cnt += 2;
}
if (a & 0x2) {
a >>= 1;
cnt += 1;
}
#endif /* x86_64 */