]> 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)
commitedc4ef13384665053964634b4ca23bddf9c04f86
treef2d62be9861686b6d6bada1d4fddc6abe60bd9a4
parent565720f19f74e81b29e6a5e99d1dc036bd8a1b82
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