diff options
author | Parav Pandit <parav@mellanox.com> | 2019-07-26 08:26:52 -0500 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2019-08-09 14:54:10 -0700 |
commit | ef2e4094e076858343ea1202046443f642a245cd (patch) | |
tree | 013ab853145056dc9b131b81d4ac25fa8b6bb522 /include/linux/mlx5 | |
parent | d589e785baf5e48ee80a4fbfed96661a4c7c8c8d (diff) | |
download | lwn-ef2e4094e076858343ea1202046443f642a245cd.tar.gz lwn-ef2e4094e076858343ea1202046443f642a245cd.zip |
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>
Diffstat (limited to 'include/linux/mlx5')
-rw-r--r-- | include/linux/mlx5/eswitch.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/mlx5/eswitch.h b/include/linux/mlx5/eswitch.h index 46b5ba029802..38a70d16d8d5 100644 --- a/include/linux/mlx5/eswitch.h +++ b/include/linux/mlx5/eswitch.h @@ -44,7 +44,6 @@ struct mlx5_eswitch_rep_data { struct mlx5_eswitch_rep { struct mlx5_eswitch_rep_data rep_data[NUM_REP_TYPES]; u16 vport; - u8 hw_id[ETH_ALEN]; u16 vlan; /* Only IB rep is using vport_index */ u16 vport_index; |