diff options
author | Antoine Tenart <antoine.tenart@bootlin.com> | 2018-09-19 11:39:32 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-09-19 21:15:02 -0700 |
commit | f8f5f588bb9b2f7fd7b019c125028517921d61e7 (patch) | |
tree | 204149d3262f50fba9664d9864c58a253277b22d /drivers | |
parent | aeeb2e8fdefdd5d257a1446351c70cb3df540199 (diff) |
net: mvpp2: do not explicitly set the carrier state in open
This patch removes the explicit call to netif_carrier_off() in PPv2's
open() path, as this is now handled in phylink_start().
Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-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 6dc15a234e50..03ff053b1d8c 100644 --- a/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c +++ b/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c @@ -3193,7 +3193,6 @@ static void mvpp2_start_dev(struct mvpp2_port *port) mvpp22_mode_reconfigure(port); if (port->phylink) { - netif_carrier_off(port->dev); phylink_start(port->phylink); } else { /* Phylink isn't used as of now for ACPI, so the MAC has to be |