aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorChristophe JAILLET <[email protected]>2022-07-03 18:46:36 +0200
committerPaolo Abeni <[email protected]>2022-07-05 12:33:48 +0200
commitec53d77ae3d5405aa252a99cd2914c87296d9fb8 (patch)
tree316f964ba692dcd8b60a053403b7d7e9be3f3aa0 /tools/perf/scripts/python/sched-migration.py
parent55ae465222d0296e81f707c2b9447e715b59b9ac (diff)
cxgb4: Use the bitmap API to allocate bitmaps
Use bitmap_zalloc()/bitmap_free() instead of hand-writing them. It is less verbose and it improves the semantic. While at it, remove a useless bitmap_zero(). The bitmap is already zeroed when allocated. Signed-off-by: Christophe JAILLET <[email protected]> Link: https://lore.kernel.org/r/8a2168ef9871bd9c4f1cf19b8d5f7530662a5d15.1656866770.git.christophe.jaillet@wanadoo.fr Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions