net: phy: simplify phy_supported_speeds()
authorRussell King <rmk+kernel@armlinux.org.uk>
Thu, 13 Apr 2017 15:49:20 +0000 (16:49 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Apr 2017 17:25:07 +0000 (13:25 -0400)
commit786df9c2a4216e64e5b7c321405d706036a76ba3
tree980fa1cbda64be1b67087e846e0c3be78c851bbe
parentd06130377c4826624681505c0bb45bfd6eb7cd4f
net: phy: simplify phy_supported_speeds()

Simplify the loop in phy_supported_speeds().

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy.c