diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2018-11-09 20:55:50 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-11 20:41:32 +0300 |
commit | 8deeb6309cc447b9b35939558f18e2164dd110df (patch) | |
tree | d53866ec45d5976807320115b40d022bb9d4b1bf /net/netlink | |
parent | d79e26a7efc22c4cc2cd66529cc3bd4e0ed5938a (diff) | |
download | linux-8deeb6309cc447b9b35939558f18e2164dd110df.tar.xz |
net: phy: don't set state PHY_CHANGELINK in phy_change
State PHY_CHANGELINK isn't needed here, we can call the state machine
directly. We just have to remove the check for phy_polling_mode() to
make this work also in interrupt mode. Removing this check doesn't
cause any overhead because when not polling the state machine is
called only if required by some event.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netlink')
0 files changed, 0 insertions, 0 deletions