]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Simplify querying port representor parent id
authorParav Pandit <parav@mellanox.com>
Fri, 26 Jul 2019 18:42:04 +0000 (13:42 -0500)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 9 Aug 2019 21:54:11 +0000 (14:54 -0700)
commit13a891eef8442038f0594d4db1f45dbdb8b10d15
treecf733eb60204700c1fc48816f32912b1d8d900e8
parentb81ac348bb7ee3cd671746048111aefced33f239
net/mlx5e: Simplify querying port representor parent id

System image GUID doesn't depend on eswitch switchdev mode.

Hence, remove the check which simplifies the code.

Signed-off-by: Parav Pandit <parav@mellanox.com>
Reviewed-by: Vu Pham <vuhuong@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c