]> 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)
commitc40e3ec0b1809e558cbd00f23b887e03652984d8
treeaac959b097eeb40e3f314c8c5a93d0ce36ae4295
parentef8e7cd3bfb3e514a5772f2c5874cf0913238d68
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