diff options
author | David S. Miller <davem@davemloft.net> | 2018-03-07 20:30:20 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-07 20:30:20 +0300 |
commit | b2b19494b80adc9d0e1e5631a69a24af47a5502c (patch) | |
tree | ac36f30727a5796381ecb8506bdf9adfb3540ece /include/linux/netdevice.h | |
parent | 4d1e46a55ea9f8d693ceabe1ba4b056e55fb6625 (diff) | |
parent | 70a55c32ee6f3781d294d64c75380c94f4b99ae8 (diff) | |
download | linux-b2b19494b80adc9d0e1e5631a69a24af47a5502c.tar.xz |
Merge branch 'net-phy-remove-phy_error-from-phy_disable_interrupts'
Heiner Kallweit says:
====================
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() takes this lock).
Make use of this in phy_stop().
v2:
- splitted into two separate patches
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netdevice.h')
0 files changed, 0 insertions, 0 deletions