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