From: Erwan Velu Date: Wed, 8 Sep 2021 20:52:10 +0000 (+0200) Subject: lib/fls.h: Remove unused variable assignment X-Git-Tag: fio-3.29~104^2~2 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=ecace1d1596b502dc68773c5d4a9e8c6ecee3785;p=fio.git 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 --- 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;