IB/ipath: Use bitmap_weight()
Use bitmap_weight() instead of finding all set bits in bitmap by hand. Signed-off-by:Akinobu Mita <akinobu.mita@gmail.com> Cc: Ralph Campbell <infinipath@qlogic.com> Signed-off-by:
Roland Dreier <rolandd@cisco.com>
Loading
Please register or sign in to comment