diff options
author | Yury Norov <yury.norov@gmail.com> | 2022-01-23 10:38:41 -0800 |
---|---|---|
committer | Yury Norov <yury.norov@gmail.com> | 2022-05-02 06:30:39 -0700 |
commit | 64b87c1a1875803296a47b6b03f73dd2b292932f (patch) | |
tree | 53dbbfbe1af5fd4573b9ca3ac7dee17c72891cc6 /tools/perf/scripts/python/check-perf-trace.py | |
parent | c8f14e2b737f8d3136f1012e67af99239bb30850 (diff) |
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: Yury Norov <yury.norov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions