mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-01-30 01:52:53 +00:00
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:
parent
2075ca8a93
commit
d7dc67ba1d
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user