mirror of
https://github.com/haproxy/haproxy.git
synced 2026-02-18 10:08:36 -05: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
1 changed files with 0 additions and 2 deletions
|
|
@ -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 a new issue