]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit542236b61217d58ecdc47d5bae85a693140ce90e
tree578efde028634f13ae45ba12f7bcf616e7525425
parent625dc0cc8b4121252824a0c1b53e5e90ef0f6a82
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