net: netcp: remove call to netif_carrier_(on/off) for MAC to Phy interface
authorKaricheri, Muralidharan <m-karicheri2@ti.com>
Mon, 27 Apr 2015 18:12:43 +0000 (14:12 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 28 Apr 2015 03:11:49 +0000 (23:11 -0400)
commit8e046d68ba719a5bb95912c154c6314472edccfa
tree92246a0b937157a9e3bb691043a9c8821f318189
parent2decb2682f80759f631c8332f9a2a34a02150a03
net: netcp: remove call to netif_carrier_(on/off) for MAC to Phy interface

Currently when interface type is MAC to Phy, netif_carrier_(on/off)
is called which is not needed as Phy lib already updates the carrier
status to net stack. This is needed only for other interface types

Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/netcp_ethss.c