net/mlx5: fix an unused-function warning
authorArnd Bergmann <arnd@arndb.de>
Tue, 17 Jul 2018 13:49:48 +0000 (15:49 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Jul 2018 20:38:54 +0000 (13:38 -0700)
commit6060d9d24e6d7c7959d0db8cd9f511cf43c409d9
treee925d74cf4d0ad8e279d6ab188d02f1d12124994
parent202aabe84a8fd809e8f401bc05e20f35a5102ece
net/mlx5: fix an unused-function warning

These dummy helpers are all intended to be inline functions,
but one of them by accident came without the 'inline' keyword,
causing a harmless warning:

In file included from drivers/net/ethernet/mellanox/mlx5/core/main.c:63:
drivers/net/ethernet/mellanox/mlx5/core/accel/tls.h:79:1: error: 'mlx5_accel_tls_add_flow' defined but not used [-Werror=unused-function]
 mlx5_accel_tls_add_flow(struct mlx5_core_dev *mdev, void *flow,

Fixes: ab412e1dd7db ("net/mlx5: Accel, add TLS rx offload routines")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/accel/tls.h