Commit c120e9e0 authored by Kleber Sacilotto de Souza's avatar Kleber Sacilotto de Souza Committed by David S. Miller

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: default avatarKleber Sacilotto de Souza <klebers@linux.vnet.ibm.com>
Acked-by: default avatarEli Cohen <eli@mellanox.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9063e21f
...@@ -531,7 +531,6 @@ static int __init init(void) ...@@ -531,7 +531,6 @@ static int __init init(void)
return 0; return 0;
mlx5_health_cleanup();
err_debug: err_debug:
mlx5_unregister_debugfs(); mlx5_unregister_debugfs();
return err; return err;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment