Skip to content
Commit f84d5a76 authored by vignesh babu's avatar vignesh babu Committed by Linus Torvalds
Browse files

is_power_of_2: kernel/kfifo.c



Replace (n & (n-1)) with is_power_of_2()

Signed-off-by: default avatarvignesh babu <vignesh.babu@wipro.com>
Acked-by: default avatarStelian Pop <stelian@popies.net>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent cf99abac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment