commit | a6e11f6bbd29a92d1357c2f3033a70fb1b767432 | [log] [tgz] |
---|---|---|
author | Heiner Kallweit <hkallweit1@gmail.com> | Tue Feb 05 20:41:37 2019 +0100 |
committer | David S. Miller <davem@davemloft.net> | Wed Feb 06 19:46:49 2019 -0800 |
tree | f0a684d83cb537dbfbd6106bf48c1d97339e2dd9 | |
parent | 7d8e249f393a1aca30bde876e932401d2c78bc9f [diff] |
net: phy: improve genphy_c45_read_link Let's make genphy_c45_read_link behave the same as genphy_update_link and set phydev->link in the function directly. This allows to simplify the callers. In addition don't check further devices once we detect that at least one device reports link as down. v2: - remove an unused variable Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>