mlxsw: spectrum_trap: Move functions to avoid their forward declarations
authorJiri Pirko <jiri@mellanox.com>
Sun, 23 Feb 2020 07:31:34 +0000 (08:31 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Feb 2020 00:06:58 +0000 (16:06 -0800)
commita5118ef1020a77ffd3ff51ae83a892756319a388
tree578efde028634f13ae45ba12f7bcf616e7525425
parentaa2794b42f17574e2d3588666ef61c48e64e095a
mlxsw: spectrum_trap: Move functions to avoid their forward declarations

No need to have forward declarations for mlxsw_sp_rx_drop_listener()
and mlxsw_sp_rx_exception_listener(). Just move them up and avoid it.

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