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
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment