aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorMaciej S. Szmigiero <[email protected]>2017-11-02 00:48:45 +0100
committerDavid S. Miller <[email protected]>2017-11-08 10:24:14 +0900
commitff198cdb9642851e01e41cdeb76d6cd86e8c427c (patch)
treebaffba5d147596f004e239d8f64285701e2ee817 /net/switchdev/switchdev.c
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions