net/mlx5: E-switch, Removed unused hwid
authorParav Pandit <parav@mellanox.com>
Fri, 26 Jul 2019 13:26:52 +0000 (08:26 -0500)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 9 Aug 2019 21:54:10 +0000 (14:54 -0700)
commitef2e4094e076858343ea1202046443f642a245cd
tree013ab853145056dc9b131b81d4ac25fa8b6bb522
parentd589e785baf5e48ee80a4fbfed96661a4c7c8c8d
net/mlx5: E-switch, Removed unused hwid

Currently mlx5_eswitch_rep stores same hw ID for all representors.
However it is never used from this structure.
It is always used from mlx5_vport.

Hence, remove unused field.

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/eswitch_offloads.c
include/linux/mlx5/eswitch.h