mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
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: Antoine Tenart <antoine.tenart@bootlin.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
f8f5f588bb
commit
09b8a45eda
1 changed files with 0 additions and 3 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Reference in a new issue