net: macb: use hweight32() to count set bits in queue_mask
authorClaudiu Beznea <claudiu.beznea@microchip.com>
Thu, 2 Jul 2020 09:05:59 +0000 (12:05 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Jul 2020 21:22:00 +0000 (14:22 -0700)
commitb7ab39b35935982d8306e3a97c57d8a232968f86
treeaa63a8bf536de51e65fb169544d62fef4fc3a94f
parentfec371f624632bfa6ae4374fdb6f885f9961c42d
net: macb: use hweight32() to count set bits in queue_mask

Use hweight32() to count set bits in queue_mask.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cadence/macb_main.c