]> git.baikalelectronics.ru Git - kernel.git/commit
staging: lustre: discard LOWEST_BIT_SET()
authorNeilBrown <neilb@suse.com>
Mon, 21 May 2018 04:35:12 +0000 (14:35 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 May 2018 16:29:10 +0000 (18:29 +0200)
commit239ef338e8f2c13d17f00a5f9b076c6d15176f3d
tree49ef809eb6a700b9e3249b9431572cbd7fd79c3c
parentd78a7872e02b22d9c0640bf032d6e2b4c3d86c3d
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>
drivers/staging/lustre/include/linux/libcfs/libcfs.h
drivers/staging/lustre/lnet/lnet/lib-eq.c