summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVladimir Oltean <vladimir.oltean@nxp.com>2022-02-16 17:30:09 +0300
committerDavid S. Miller <davem@davemloft.net>2022-02-17 17:06:51 +0300
commit2960bb14ea27e8ce48e05534eb6737de1176fe22 (patch)
tree4bc568b481ff49ea897f33ea2eda60d3d8a906e5 /include
parent85ea0daabe5abc6add440f86565b7b9f6aff5535 (diff)
downloadlinux-2960bb14ea27e8ce48e05534eb6737de1176fe22.tar.xz
net: dsa: felix: use DSA port iteration helpers
Use the helpers that avoid the quadratic complexity associated with calling dsa_to_port() indirectly: dsa_is_unused_port(), dsa_is_cpu_port(). Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions