diff options
| author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2022-02-16 16:30:09 +0200 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2022-02-17 14:06:51 +0000 |
| commit | 2960bb14ea27e8ce48e05534eb6737de1176fe22 (patch) | |
| tree | 4bc568b481ff49ea897f33ea2eda60d3d8a906e5 /include/soc | |
| parent | 85ea0daabe5abc6add440f86565b7b9f6aff5535 (diff) | |
| download | cachepc-linux-2960bb14ea27e8ce48e05534eb6737de1176fe22.tar.gz cachepc-linux-2960bb14ea27e8ce48e05534eb6737de1176fe22.zip | |
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/soc')
0 files changed, 0 insertions, 0 deletions
