commit | d7dc67ba1d9abc72a7aae12fca56c67befd8a1ec | [log] [tgz] |
---|---|---|
author | Miroslav Zagorac <mzagorac@haproxy.com> | Sun Mar 08 16:32:20 2020 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Mon Mar 09 14:47:27 2020 +0100 |
tree | 67ca29a03dcdf72fbb553a0c847cb494fa97b2b8 | |
parent | 2075ca8a93d45f2319b892ed142c3ccb5aaf6a5c [diff] |
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.
diff --git a/include/common/standard.h b/include/common/standard.h index 6e1e840..ea1e86d 100644 --- a/include/common/standard.h +++ b/include/common/standard.h
@@ -902,7 +902,6 @@ cnt += 2; } if (!(a & 0x1)) { - a >>= 1; cnt += 1; } #endif /* x86_64 */ @@ -946,7 +945,6 @@ cnt += 2; } if (a & 0x2) { - a >>= 1; cnt += 1; } #endif /* x86_64 */