aboutsummaryrefslogtreecommitdiffstats
path: root/tools/net/ynl/cli.py
diff options
context:
space:
mode:
authorRussell King (Oracle) <[email protected]>2024-10-17 11:53:10 +0000
committerPaolo Abeni <[email protected]>2024-10-23 14:10:16 +0000
commitfd4056db7aee901677a3c62534b2d31b38678cb4 (patch)
tree41a80d261c8b762aa86967e0fe818939afc4e34b /tools/net/ynl/cli.py
parentnet: pcs: xpcs: rename xpcs_config_usxgmii() (diff)
downloadkernel-fd4056db7aee901677a3c62534b2d31b38678cb4.tar.gz
kernel-fd4056db7aee901677a3c62534b2d31b38678cb4.zip
net: pcs: xpcs: remove return statements in void function
While using "return" when calling a void returning function inside a function that returns void doesn't cause a compiler warning, it looks weird. Convert the bunch of if() statements to a switch() and remove these return statements. Signed-off-by: Russell King (Oracle) <[email protected]> Tested-by: Serge Semin <[email protected]> Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/net/ynl/cli.py')
0 files changed, 0 insertions, 0 deletions