commit | a2fc9d7e36f6d484d9be4a0a204400aaf6059544 | [log] [tgz] |
---|---|---|
author | Heiner Kallweit <hkallweit1@gmail.com> | Wed Feb 13 20:11:40 2019 +0100 |
committer | David S. Miller <davem@davemloft.net> | Thu Feb 14 12:04:55 2019 -0500 |
tree | 59ed82df8c097d39f1912315f2cff6dba295c717 | |
parent | 39c133196237335e8ee9e3694ef7921241cf6a41 [diff] |
net: phy: don't use locking in phy_is_started Russell suggested to remove the locking from phy_is_started() because the read is atomic anyway and actually the locking may be more misleading. Fixes: 2b3e88ea6528 ("net: phy: improve phy state checking") Suggested-by: Russell King - ARM Linux admin <linux@armlinux.org.uk> Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>