diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2022-07-05 22:22:59 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-07-06 19:54:52 -0700 |
commit | 45262522d0027269dbece119f1cb89e25f5de965 (patch) | |
tree | a9427afd25cbba307aa99cd4b821834a8c95754f /drivers/net/ethernet/broadcom/cnic.c | |
parent | ee4c0c5d2593d5f694447f4053076cdc23e606c9 (diff) |
bnxt: 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/d508f3adf7e2804f4d3793271b82b196a2ccb940.1657052562.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/broadcom/cnic.c')
0 files changed, 0 insertions, 0 deletions