diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2022-04-15 18:46:24 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-04-20 12:34:34 +0300 |
commit | cf1c39d3b3a583c83fc7e077e1b3689b37187bd2 (patch) | |
tree | f508d0dc3acdbf057544fd3aaf521853624f2331 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | b2033a05a7197f5ddef617be8f510c9957a82553 (diff) | |
download | linux-cf1c39d3b3a583c83fc7e077e1b3689b37187bd2.tar.xz |
net: dsa: avoid one dsa_to_port() in dsa_slave_change_mtu
We could retrieve the cpu_dp pointer directly from the "dp" we already
have, no need to resort to dsa_to_port(ds, port).
This change also removes the need for an "int port", so that is also
deleted.
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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions