Skip to content
Commit 598cb6f3 authored by Akinobu Mita's avatar Akinobu Mita Committed by Roland Dreier
Browse files

IB/ipath: Use bitmap_weight()



Use bitmap_weight() instead of finding all set bits in bitmap by hand.

Signed-off-by: default avatarAkinobu Mita <akinobu.mita@gmail.com>
Cc: Ralph Campbell <infinipath@qlogic.com>
Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent 91d3f9ba
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment