summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-04-17 21:25:36 +0200
committerFelix Fietkau <nbd@openwrt.org>2015-04-17 21:27:03 +0200
commit944f30d3f96577464545dd35691f96b06fbcc6ab (patch)
tree0b794c522f02a9d45e13912cfbee1baf274becff
parent7f5a597e21127ed30fb9dc579cf7defa46c7f3f2 (diff)
downloadnetifd-944f30d3f96577464545dd35691f96b06fbcc6ab.tar.gz
utils.h: remove leftover commented out code
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
-rw-r--r--utils.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/utils.h b/utils.h
index 301a075..4e14bcf 100644
--- a/utils.h
+++ b/utils.h
@@ -98,10 +98,8 @@ static inline int fls(int x)
x <<= 2;
r -= 2;
}
- if (!(x & 0x80000000u)) {
- //x <<= 1;
+ if (!(x & 0x80000000u))
r -= 1;
- }
return r;
}
#endif