]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_trap: Move struct definition out of header file
authorIdo Schimmel <idosch@mellanox.com>
Sat, 16 May 2020 22:43:05 +0000 (01:43 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 16 May 2020 23:42:31 +0000 (16:42 -0700)
commitacacb78a95bbde81619683dbcc1410f323ef0527
tree704b2bb56fc8dfc7107e8a7a996c4346de125c1e
parent338a549415492eefb95cb093cfd3f58de489ca00
mlxsw: spectrum_trap: Move struct definition out of header file

'struct mlxsw_sp_trap_policer_item' is only used in one file, so move it
there.

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
drivers/net/ethernet/mellanox/mlxsw/spectrum_trap.h