summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <[email protected]>2016-02-22 08:40:03 -0500
committerNick Mathewson <[email protected]>2016-02-22 08:40:03 -0500
commitc2c098abc08b2357e6bfd0d4e5d44658c5095c92 (patch)
tree2c4bfa9a899ece2141f349afe116fec621f77fc9
parent8ffc8e0abe2c305378a86ef4deb982d4739b1614 (diff)
Remove two more unneeded zero checks in bitops.c
-rw-r--r--bitops.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/bitops.c b/bitops.c
index eeb9bfe..bd1338a 100644
--- a/bitops.c
+++ b/bitops.c
@@ -64,8 +64,6 @@ static __inline int clz32(unsigned long val)
static inline int clz64(uint64_t x)
{
int rv = 0;
- if (!x)
- return 64;
process64(32);
process64(16);
@@ -79,8 +77,6 @@ static inline int clz64(uint64_t x)
static inline int clz32(uint32_t x)
{
int rv = 0;
- if (!x)
- return 32;
process32(16);
process32(8);