]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit95545b4e67c98c528cf45f8e9b0604bdd51af3da
treef2d62be9861686b6d6bada1d4fddc6abe60bd9a4
parent67f756968d0eb3eee82cc1ff8b9f4531e827ea58
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