atm: he: Use the bitmap API to allocate bitmaps
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sat, 9 Jul 2022 15:05:45 +0000 (17:05 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 12 Jul 2022 02:49:53 +0000 (19:49 -0700)
commit9e433ac1a381bb1fa5e7ccbe3d226780e5b10bed
tree4c78659b4ca4a48dbf0d3b451521bc5d81fe37f3
parent2b8bf3d6c99318eae669e3098c490ba6b508fd37
atm: he: 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.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/7f795bd6d5b2a00f581175b7069b229c2e5a4192.1657379127.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/atm/he.c