Pārlūkot izejas kodu

IB/mlx5_core: remove unreachable function call in module init

The call to mlx5_health_cleanup() in the module init function can never
be reached. Removing it.

Signed-off-by: Kleber Sacilotto de Souza <klebers@linux.vnet.ibm.com>
Acked-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Kleber Sacilotto de Souza 11 gadi atpakaļ
vecāks
revīzija
c120e9e030
1 mainītis faili ar 0 papildinājumiem un 1 dzēšanām
  1. 0 1
      drivers/net/ethernet/mellanox/mlx5/core/main.c

+ 0 - 1
drivers/net/ethernet/mellanox/mlx5/core/main.c

@@ -531,7 +531,6 @@ static int __init init(void)
 
 	return 0;
 
-	mlx5_health_cleanup();
 err_debug:
 	mlx5_unregister_debugfs();
 	return err;