Skip to content
Commit 58b6be41 authored by Parav Pandit's avatar Parav Pandit Committed by David S. Miller
Browse files

devlink: Use switch-case instead of if-else



Make core more readable with switch-case for various port flavours.

Acked-by: default avatarJiri Pirko <jiri@mellanox.com>
Signed-off-by: default avatarParav Pandit <parav@mellanox.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c7282b50
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment