diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2018-12-16 15:00:40 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-12-19 00:01:55 +0100 |
commit | 2429f13870d3d2abbe200807d0462272e16ec830 (patch) | |
tree | 7704a791a11bcd250a22e8f32b183db603b3d767 /drivers/net/ethernet/freescale/fec.h | |
parent | bonding: fix indentation issues, remove extra spaces (diff) | |
download | linux-2429f13870d3d2abbe200807d0462272e16ec830.tar.xz linux-2429f13870d3d2abbe200807d0462272e16ec830.zip |
net: fec: remove workaround to restart phylib state machine on MDIO timeout
There's a workaround to restart the phylib state machine in case of a
MDIO access timeout. Seems it was introduced to deal with the
consequences of a too small MDIO timeout. See also commit message of
c3b084c24c8a ("net: fec: Adjust ENET MDIO timeouts") which increased
the timeout value later. Due to the later timeout value fix it seems
to be safe to remove the workaround.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/freescale/fec.h')
-rw-r--r-- | drivers/net/ethernet/freescale/fec.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/freescale/fec.h b/drivers/net/ethernet/freescale/fec.h index bf80855dd0dd..f79e57f735b3 100644 --- a/drivers/net/ethernet/freescale/fec.h +++ b/drivers/net/ethernet/freescale/fec.h @@ -531,7 +531,6 @@ struct fec_enet_private { /* Phylib and MDIO interface */ struct mii_bus *mii_bus; - int mii_timeout; uint phy_speed; phy_interface_t phy_interface; struct device_node *phy_node; |