diff options
author | Nathan Chancellor <[email protected]> | 2019-07-09 23:06:15 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-07-12 11:37:03 -0700 |
commit | 9db7e618fca34d0a7d61c149d726fd90644ecb1e (patch) | |
tree | 0e0834e601c41c1cf85bb3ba65ec1f94a64b78ce /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 3194d6adfe8e4da74e04b8eacef2bd7eea3f8992 (diff) |
net/mlx5e: Convert single case statement switch statements into if statements
During the review of commit 1ff2f0fa450e ("net/mlx5e: Return in default
case statement in tx_post_resync_params"), Leon and Nick pointed out
that the switch statements can be converted to single if statements
that return early so that the code is easier to follow.
Suggested-by: Leon Romanovsky <[email protected]>
Suggested-by: Nick Desaulniers <[email protected]>
Signed-off-by: Nathan Chancellor <[email protected]>
Reviewed-by: Leon Romanovsky <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions