summaryrefslogtreecommitdiffstats
path: root/drivers/staging/lustre/include
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.com>2018-05-21 14:35:12 +1000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-05-25 18:29:10 +0200
commit8cb651475792797039610fe974a7d94d6784c877 (patch)
tree49ef809eb6a700b9e3249b9431572cbd7fd79c3c /drivers/staging/lustre/include
parent18f92a6e3d6bd00941ddfb5837835348f72d39dc (diff)
downloadop-kernel-dev-8cb651475792797039610fe974a7d94d6784c877.zip
op-kernel-dev-8cb651475792797039610fe974a7d94d6784c877.tar.gz
staging: lustre: discard LOWEST_BIT_SET()
This macro is only used once to test if a value is a power of two. So use is_power_of_2() instead and discard the macro. Signed-off-by: NeilBrown <neilb@suse.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/include')
-rw-r--r--drivers/staging/lustre/include/linux/libcfs/libcfs.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/lustre/include/linux/libcfs/libcfs.h b/drivers/staging/lustre/include/linux/libcfs/libcfs.h
index 7259544..084150e 100644
--- a/drivers/staging/lustre/include/linux/libcfs/libcfs.h
+++ b/drivers/staging/lustre/include/linux/libcfs/libcfs.h
@@ -89,8 +89,6 @@
#define LIBCFS_VERSION "0.7.0"
-#define LOWEST_BIT_SET(x) ((x) & ~((x) - 1))
-
/*
* One jiffy
*/
OpenPOWER on IntegriCloud