summaryrefslogtreecommitdiff
path: root/net/openvswitch
diff options
context:
space:
mode:
authorNathan Chancellor <natechancellor@gmail.com>2019-07-10 09:06:15 +0300
committerDavid S. Miller <davem@davemloft.net>2019-07-12 21:37:03 +0300
commit9db7e618fca34d0a7d61c149d726fd90644ecb1e (patch)
tree0e0834e601c41c1cf85bb3ba65ec1f94a64b78ce /net/openvswitch
parent3194d6adfe8e4da74e04b8eacef2bd7eea3f8992 (diff)
downloadlinux-9db7e618fca34d0a7d61c149d726fd90644ecb1e.tar.xz
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 <leon@kernel.org> Suggested-by: Nick Desaulniers <ndesaulniers@google.com> Signed-off-by: Nathan Chancellor <natechancellor@gmail.com> Reviewed-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/openvswitch')
0 files changed, 0 insertions, 0 deletions