OSDN Git Service

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)
commit85d4ec592510520a2beb11c7f35748fd09ffe089
tree704b2bb56fc8dfc7107e8a7a996c4346de125c1e
parent13f15b59ad70549545272cc8f0bf4d68a8ef9c14
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