net/mlx5: Remove unused events callback and logic
authorSaeed Mahameed <saeedm@mellanox.com>
Mon, 26 Nov 2018 22:39:01 +0000 (14:39 -0800)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 30 Nov 2018 00:40:31 +0000 (16:40 -0800)
commit02039fb659b366011f55b15890136754f3d82e2d
treef7fe11274ea4b88f4637aea82688260a3477ce7b
parentdf097a278c7592873d88571a8c78f987f6ae511b
net/mlx5: Remove unused events callback and logic

The mlx5_interface->event callback is not used by mlx5e/mlx5_ib anymore.

We totally remove the delayed events logic work around, since with
the dynamic notifier registration API it is not needed anymore, mlx5_ib
can register its notifier and start receiving events exactly at the moment
it is ready to handle them.

Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/dev.c
drivers/net/ethernet/mellanox/mlx5/core/events.c
drivers/net/ethernet/mellanox/mlx5/core/health.c
drivers/net/ethernet/mellanox/mlx5/core/main.c
drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h
include/linux/mlx5/driver.h