]> git.baikalelectronics.ru Git - kernel.git/commit
net: atlantic: Use the bitmap API instead of hand-writing it
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 23 Jan 2022 06:53:46 +0000 (07:53 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Jan 2022 12:57:01 +0000 (12:57 +0000)
commitbedc1cfb9cc830bc21d1b990ad1823f17486f65c
treef94c1606fea1a5f6e0fd2d50ad01ee3a56203060
parentfdf757eed6889cb03ded485a096a47de10386beb
net: atlantic: Use the bitmap API instead of hand-writing it

Simplify code by using bitmap_weight() and bitmap_zero() instead of
hand-writing these functions.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Igor Russkikh <irusskikh@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/aquantia/atlantic/aq_filters.c