]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: don't use bitmap_weight() in b53_arl_read()
authorYury Norov <yury.norov@gmail.com>
Sun, 23 Jan 2022 18:38:32 +0000 (10:38 -0800)
committerYury Norov <yury.norov@gmail.com>
Mon, 2 May 2022 13:30:39 +0000 (06:30 -0700)
commitb327511915857ede244b475f95031a79981d5796
treeaac959b097eeb40e3f314c8c5a93d0ce36ae4295
parentc02c8228f39a35a18b7da5bed4327a96bdd1c782
net: dsa: don't use bitmap_weight() in b53_arl_read()

Don't call bitmap_weight() if the following code can get by
without it.

Signed-off-by: Yury Norov <yury.norov@gmail.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
drivers/net/dsa/b53/b53_common.c