Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 09b8a45e authored by Antoine Tenart's avatar Antoine Tenart Committed by David S. Miller
Browse files

net: mvneta: do not explicitly set the carrier state in open



This patch removes the explicit call to netif_carrier_off() in
mvneta_open() as this is already handled in phylink_start().

Signed-off-by: default avatarAntoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f8f5f588
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -3791,9 +3791,6 @@ static int mvneta_open(struct net_device *dev)
			goto err_free_online_hp;
	}

	/* In default link is down */
	netif_carrier_off(pp->dev);

	ret = mvneta_mdio_probe(pp);
	if (ret < 0) {
		netdev_err(dev, "cannot probe MDIO bus\n");