提交 c120e9e0 编写于 作者: K Kleber Sacilotto de Souza 提交者: 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: NKleber Sacilotto de Souza <klebers@linux.vnet.ibm.com>
Acked-by: NEli Cohen <eli@mellanox.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 9063e21f
......@@ -531,7 +531,6 @@ static int __init init(void)
return 0;
mlx5_health_cleanup();
err_debug:
mlx5_unregister_debugfs();
return err;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册