summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMaciej S. Szmigiero <mail@maciej.szmigiero.name>2017-11-02 00:48:45 +0100
committerDavid S. Miller <davem@davemloft.net>2017-11-08 10:24:14 +0900
commitff198cdb9642851e01e41cdeb76d6cd86e8c427c (patch)
treebaffba5d147596f004e239d8f64285701e2ee817 /include/linux
parentfffcefe967a02997be7a296a4f0766b29dcd1a67 (diff)
net: phy: leds: Refactor "no link" handler into a separate function
Currently, phy_led_trigger_change_speed() is handling a "no link" condition like it was some kind of an error (using "goto" to a code at the function end). However, having no link at PHY is an ordinary operational state, so let's handle it in an appropriately named separate function so it is more obvious what the code is doing. Signed-off-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions