diff options
| author | Weihang Li <[email protected]> | 2021-06-16 10:01:26 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-06-16 19:34:07 +0000 |
| commit | 16d4d650966d9a607b32ceb709248f7833d88ed0 (patch) | |
| tree | 193e30a0398dd4a9170a5af2f9ffd5c1ace67e79 /net/switchdev/switchdev.c | |
| parent | net: phy: remove unnecessary line continuation (diff) | |
| download | kernel-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
