Skip to content
Commit 64b87c1a authored by Yury Norov's avatar Yury Norov
Browse files

qed: rework qed_rdma_bmap_free()



qed_rdma_bmap_free() is mostly an opencoded version of printk("%*pb").
Using %*pb format simplifies the code, and helps to avoid inefficient
usage of bitmap_weight().

While here, reorganize logic to avoid calculating bmap weight if check
is false.

Signed-off-by: default avatarYury Norov <yury.norov@gmail.com>
parent c8f14e2b
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