]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
net/mlx5e: Simplify get_route_and_out_devs helper function
authorEli Britstein <elibr@mellanox.com>
Mon, 3 Jun 2019 08:57:13 +0000 (08:57 +0000)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 29 Jul 2019 23:40:24 +0000 (16:40 -0700)
commit233fd21211bd0c77109460811eefa8d10dcfc5e7
tree8dfa019e17d2528d6c15befecfb814d7dcb39c59
parentaae67158da3677cde569919d66c6521f7b3a4502
net/mlx5e: Simplify get_route_and_out_devs helper function

The helper function has "if" branches that do the same. Merge them to
simplify the code.

Signed-off-by: Eli Britstein <elibr@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c