diff options
author | 2021-10-20 20:49:52 +0300 | |
---|---|---|
committer | 2021-10-21 12:44:07 +0100 | |
commit | 57d77986e7428752a05358386e3f80c2a08c13a7 (patch) | |
tree | c419607239de1a1da4c83de374c839d0c030d0b6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: dsa: do not open-code dsa_switch_for_each_port (diff) | |
download | wireguard-linux-57d77986e7428752a05358386e3f80c2a08c13a7.tar.xz wireguard-linux-57d77986e7428752a05358386e3f80c2a08c13a7.zip |
net: dsa: remove gratuitous use of dsa_is_{user,dsa,cpu}_port
Find the occurrences of dsa_is_{user,dsa,cpu}_port where a struct
dsa_port *dp was already available in the function scope, and replace
them with the dsa_port_is_{user,dsa,cpu} equivalent function which uses
that dp directly and does not perform another hidden dsa_to_port().
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions