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)
commit724ee17912c9a8e5362751a22fd955166ed0550a
treecf733eb60204700c1fc48816f32912b1d8d900e8
parentef2e4094e076858343ea1202046443f642a245cd
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