mlxsw: spectrum_trap: Remove unnecessary field
authorIdo Schimmel <idosch@mellanox.com>
Sun, 24 May 2020 21:51:03 +0000 (00:51 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 May 2020 02:32:23 +0000 (19:32 -0700)
commitd88f8cc158b9c3812172431a3761e86b92f2d53d
treef2d62be9861686b6d6bada1d4fddc6abe60bd9a4
parent5047d819f5b1ad244675ba69b36af1ac44c76e34
mlxsw: spectrum_trap: Remove unnecessary field

Now that traffic class (TC) and priority are set to the same value,
there is no need to store both. Remove the first.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_trap.c