• Yury Norov's avatar
    qed: rework qed_rdma_bmap_free() · 64b87c1a
    Yury Norov authored
    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>
    64b87c1a
qed_rdma.c 57 KB