diff options
author | Marcin Wojtas <mw@semihalf.com> | 2021-06-21 19:30:28 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-22 09:54:55 -0700 |
commit | 8d909440ab3b118627b002e4e19e806b866371ba (patch) | |
tree | f93fc27ddcb7134dbb75f51d35728c1deb5910f1 /drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | |
parent | net: mvpp2: enable using phylink with ACPI (diff) | |
download | linux-dev-8d909440ab3b118627b002e4e19e806b866371ba.tar.xz linux-dev-8d909440ab3b118627b002e4e19e806b866371ba.zip |
net: mvpp2: remove unused 'has_phy' field
The 'has_phy' field from struct mvpp2_port is no longer used.
Remove it.
Signed-off-by: Marcin Wojtas <mw@semihalf.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c')
-rw-r--r-- | drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c b/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c index a66ed3194015..8362e64a3b28 100644 --- a/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c +++ b/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c @@ -6790,7 +6790,6 @@ static int mvpp2_port_probe(struct platform_device *pdev, port = netdev_priv(dev); port->dev = dev; port->fwnode = port_fwnode; - port->has_phy = !!of_find_property(port_node, "phy", NULL); port->ntxqs = ntxqs; port->nrxqs = nrxqs; port->priv = priv; |