staging: lustre: libcfs.h: remove IS_PO2 and __is_po2
Removes IS_PO2 and __is_po2 since the uses of IS_PO2 have been replaced by is_power_of_2 Signed-off-by: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
71872e9cc2
commit
d489103990
1 changed files with 0 additions and 7 deletions
|
@ -42,13 +42,6 @@
|
|||
|
||||
#include "curproc.h"
|
||||
|
||||
static inline int __is_po2(unsigned long long val)
|
||||
{
|
||||
return !(val & (val - 1));
|
||||
}
|
||||
|
||||
#define IS_PO2(val) __is_po2((unsigned long long)(val))
|
||||
|
||||
#define LOWEST_BIT_SET(x) ((x) & ~((x) - 1))
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue