Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 7753f169 authored by Vignesh Babu's avatar Vignesh Babu Committed by Artem Bityutskiy
Browse files

UBI: use is_power_of_2()



Replacing (n & (n-1)) in the context of power of 2 checks
with is_power_of_2

Signed-off-by: default avatarVignesh Babu <vignesh.babu@wipro.com>
Signed-off-by: default avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
parent d7f0c4dc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment