diff options
author | Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> | 2015-11-17 20:07:07 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-12-21 23:40:18 (GMT) |
commit | d4891039904fa25edf1ca793a0469633ed81df3f (patch) | |
tree | 7c9f06ee4569bad4e2a78e3a4e869d17f096b986 /drivers/staging/lustre | |
parent | 71872e9cc2af4dca1903ebc57daa15f08c795d86 (diff) | |
download | linux-d4891039904fa25edf1ca793a0469633ed81df3f.tar.xz |
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>
Diffstat (limited to 'drivers/staging/lustre')
-rw-r--r-- | drivers/staging/lustre/include/linux/libcfs/libcfs.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/staging/lustre/include/linux/libcfs/libcfs.h b/drivers/staging/lustre/include/linux/libcfs/libcfs.h index 049f6a9..0d8a91e 100644 --- a/drivers/staging/lustre/include/linux/libcfs/libcfs.h +++ b/drivers/staging/lustre/include/linux/libcfs/libcfs.h @@ -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)) /* |