commit | 4fff2d33c707938c537b7aeb2c511226f8a20313 | [log] [tgz] |
---|---|---|
author | Heiner Kallweit <hkallweit1@gmail.com> | Mon Mar 05 22:34:27 2018 +0100 |
committer | David S. Miller <davem@davemloft.net> | Wed Mar 07 12:30:20 2018 -0500 |
tree | 03574d029ed0ee18a1f14d876f9958f3504b38bc | |
parent | 4d1e46a55ea9f8d693ceabe1ba4b056e55fb6625 [diff] |
net: phy: remove phy_error from phy_disable_interrupts All callers of phy_disable_interrupts() call phy_error() in the error case. Therefore we don't need to do this within the function too. This change also allows us to use phy_disable_interrupts() in code holding phydev->lock (because phy_error() can take this lock). Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>