]> 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)
commit85ada296cd9b8d7e129d8b8e49bcfb57f1c4f2c9
tree8cd442e6b069953934b6bc987c587c9f1b09bc65
parentb327511915857ede244b475f95031a79981d5796
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