Re: [PATCH v2 net-next] net: phy: improve genphy_c45_read_link

2019-02-06 Thread David Miller
From: Heiner Kallweit Date: Tue, 5 Feb 2019 20:41:37 +0100 > 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 dev

[PATCH v2 net-next] net: phy: improve genphy_c45_read_link

2019-02-05 Thread Heiner Kallweit
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-of