diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2022-07-03 18:46:36 +0200 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2022-07-05 12:33:48 +0200 |
commit | ec53d77ae3d5405aa252a99cd2914c87296d9fb8 (patch) | |
tree | 316f964ba692dcd8b60a053403b7d7e9be3f3aa0 /Documentation | |
parent | 55ae465222d0296e81f707c2b9447e715b59b9ac (diff) | |
download | linux-ec53d77ae3d5405aa252a99cd2914c87296d9fb8.tar.bz2 |
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 <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/8a2168ef9871bd9c4f1cf19b8d5f7530662a5d15.1656866770.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions