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>
This commit is contained in:
parent
9063e21fb0
commit
c120e9e030
|
@ -531,7 +531,6 @@ static int __init init(void)
|
|||
|
||||
return 0;
|
||||
|
||||
mlx5_health_cleanup();
|
||||
err_debug:
|
||||
mlx5_unregister_debugfs();
|
||||
return err;
|
||||
|
|
Loading…
Reference in New Issue