net: dsa: mt7530: get rid of mt753x_mac_config()
authorArınç ÜNAL <arinc.unal@arinc9.com>
Fri, 1 Mar 2024 10:43:02 +0000 (12:43 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 5 Mar 2024 11:23:43 +0000 (12:23 +0100)
commit1192ed898c970a1e6bd5f0e0d92c60214228e62a
treeac970967a99a66b0aee8faaa1728231ed43b78fa
parent22fa10170af5963e921b73159348bef807f58e50
net: dsa: mt7530: get rid of mt753x_mac_config()

There is no need for a separate function to call
priv->info->mac_port_config(). Call it from mt753x_phylink_mac_config()
instead and remove mt753x_mac_config().

Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/dsa/mt7530.c