]> git.itanic.dy.fi Git - linux-stable/commit
net: dsa: lantiq_gswip: delete irrelevant use of ds->phys_mii_mask
authorVladimir Oltean <vladimir.oltean@nxp.com>
Thu, 4 Jan 2024 14:00:28 +0000 (16:00 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 5 Jan 2024 11:56:35 +0000 (11:56 +0000)
commitfc74b32b4032fc1aba8fc92f0e17e5ebe773bb68
tree9e48b8505d87f27b484c612f0d96c1d162d3f4cc
parent94e2557d086ad831027c54bc9c2130d337c72814
net: dsa: lantiq_gswip: delete irrelevant use of ds->phys_mii_mask

__of_mdiobus_register(), called right next, overwrites the phy_mask
we just configured on the bus, so this is redundant and confusing.
Delete it.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Alvin Šipraga <alsi@bang-olufsen.dk>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/lantiq_gswip.c