Vladimir Oltean cf1c39d3b3 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>
2022-04-20 10:34:34 +01:00
..
2022-03-17 16:34:49 -07:00
2022-03-07 11:40:41 +00:00
2022-02-25 09:36:06 +01:00
2022-04-18 10:28:40 +01:00
2022-04-07 21:06:41 -07:00
2022-03-03 09:55:28 +00:00
2021-07-29 15:06:49 +01:00