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

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/ethernet/broadcom/bcmsysport.c