summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@nvidia.com>2021-05-19 15:08:19 +0300
committerDavid S. Miller <davem@davemloft.net>2021-05-19 22:47:47 +0300
commit7725c1c8f73260de2ef0d01ca23b64260fc66ffd (patch)
tree9ea0e8991f30e44dc411c641768c2e6eed4d3afe /mm
parenteb0e4d59b6edbe678ecfc5d5b77608b634057f08 (diff)
downloadlinux-7725c1c8f73260de2ef0d01ca23b64260fc66ffd.tar.xz
mlxsw: spectrum_router: Replace if statement with a switch statement
The code was written when only two multipath hash policies were present, so the if statement was sufficient. The next patch and future patches are going to add support for more policies, so move to a switch statement. Signed-off-by: Ido Schimmel <idosch@nvidia.com> Reviewed-by: Petr Machata <petrm@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions