mlxsw: spectrum_acl: Move block helpers into inline header functions
authorJiri Pirko <jiri@mellanox.com>
Mon, 27 Apr 2020 15:12:58 +0000 (18:12 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Apr 2020 19:43:29 +0000 (12:43 -0700)
commit49c958ccd2433114ca8a96c996b5016aa89c7ba5
tree04c96a3b7c4f39234ab067502ae2cba844af43ae
parent6488f11f39cfaefae3f924867d78cbea747dc59e
mlxsw: spectrum_acl: Move block helpers into inline header functions

The struct is defined in the header, no need to have the helpers
in the c file. Move the helpers to the header.

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