net/fq_impl: Use the bitmap API to allocate bitmaps
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sat, 9 Jul 2022 14:37:53 +0000 (16:37 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 12 Jul 2022 02:49:38 +0000 (19:49 -0700)
commit2b8bf3d6c99318eae669e3098c490ba6b508fd37
treebd1d39c65a5c5ee32130b974dcb5e8822aa1799f
parente7bde1c581e41e396ab14275793f193ffbd5b2b1
net/fq_impl: 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/c7bf099af07eb497b02d195906ee8c11fea3b3bd.1657377335.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/fq_impl.h