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;
|
cnt += 2;
|
||||||
}
|
}
|
||||||
if (!(a & 0x1)) {
|
if (!(a & 0x1)) {
|
||||||
a >>= 1;
|
|
||||||
cnt += 1;
|
cnt += 1;
|
||||||
}
|
}
|
||||||
#endif /* x86_64 */
|
#endif /* x86_64 */
|
||||||
@ -946,7 +945,6 @@ static inline unsigned int my_flsl(unsigned long a)
|
|||||||
cnt += 2;
|
cnt += 2;
|
||||||
}
|
}
|
||||||
if (a & 0x2) {
|
if (a & 0x2) {
|
||||||
a >>= 1;
|
|
||||||
cnt += 1;
|
cnt += 1;
|
||||||
}
|
}
|
||||||
#endif /* x86_64 */
|
#endif /* x86_64 */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user