]> git.baikalelectronics.ru Git - kernel.git/commit
net: mvpp2: do not explicitly set the carrier state in open
authorAntoine Tenart <antoine.tenart@bootlin.com>
Wed, 19 Sep 2018 09:39:32 +0000 (11:39 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Sep 2018 04:15:02 +0000 (21:15 -0700)
commitd84fd68bf38097d3fe986685b26a683e9e9388d3
tree204149d3262f50fba9664d9864c58a253277b22d
parent5eb20ebc54da41d97fc0cf47465f14df76b8198e
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>
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c