]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: qca8k: tidy for loop in setup and add cpu port check
authorAnsuel Smith <ansuelsmth@gmail.com>
Tue, 19 Oct 2021 00:08:50 +0000 (02:08 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Oct 2021 13:16:37 +0000 (14:16 +0100)
commit88087cb2257025e16e490a68f16aee977a5bfa91
treee7adb4168b41adf078ede487a565f8c9fc3fabd4
parent67590c2ba4bf6be26f38e27d3d8f835a7c216898
net: dsa: qca8k: tidy for loop in setup and add cpu port check

Tidy and organize qca8k setup function from multiple for loop.
Change for loop in bridge leave/join to scan all port and skip cpu port.
No functional change intended.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/qca8k.c