aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorWeihang Li <[email protected]>2021-06-16 10:01:26 +0000
committerDavid S. Miller <[email protected]>2021-06-16 19:34:07 +0000
commit16d4d650966d9a607b32ceb709248f7833d88ed0 (patch)
tree193e30a0398dd4a9170a5af2f9ffd5c1ace67e79 /net/switchdev/switchdev.c
parentnet: phy: remove unnecessary line continuation (diff)
downloadkernel-16d4d650966d9a607b32ceb709248f7833d88ed0.tar.gz
kernel-16d4d650966d9a607b32ceb709248f7833d88ed0.zip
net: phy: replace if-else statements with switch
Switch statement is clearer than a group of 'if-else'. Signed-off-by: Weihang Li <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions