summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorErwan Velu <erwanaliasr1@gmail.com>2021-09-08 22:52:10 +0200
committerErwan Velu <erwanaliasr1@gmail.com>2021-09-08 23:31:00 +0200
commitecace1d1596b502dc68773c5d4a9e8c6ecee3785 (patch)
tree3dca25f0a4cac548950c1276a31d27a58429c1bd /lib
parent691df596922c1e74f74e769269254e0a091ffdc2 (diff)
downloadfio-ecace1d1596b502dc68773c5d4a9e8c6ecee3785.tar.gz
fio-ecace1d1596b502dc68773c5d4a9e8c6ecee3785.tar.bz2
lib/fls.h: Remove unused variable assignment
x is modified just before the last set of r but x is never used again. Let's remove this useless assignment. Signed-off-by: Erwan Velu <erwanaliasr1@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/fls.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/fls.h b/lib/fls.h
index dc7ecd0d..99e1862a 100644
--- a/lib/fls.h
+++ b/lib/fls.h
@@ -32,7 +32,6 @@ static inline int __fls(int x)
r -= 2;
}
if (!(x & 0x80000000u)) {
- x <<= 1;
r -= 1;
}
return r;