diff options
author | Ido Schimmel <idosch@nvidia.com> | 2021-05-19 15:08:19 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-05-19 22:47:47 +0300 |
commit | 7725c1c8f73260de2ef0d01ca23b64260fc66ffd (patch) | |
tree | 9ea0e8991f30e44dc411c641768c2e6eed4d3afe /samples/v4l | |
parent | eb0e4d59b6edbe678ecfc5d5b77608b634057f08 (diff) | |
download | linux-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 'samples/v4l')
0 files changed, 0 insertions, 0 deletions