diff options
author | Kleber Sacilotto de Souza <klebers@linux.vnet.ibm.com> | 2014-03-07 19:48:25 -0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-03-10 15:23:22 -0400 |
commit | c120e9e03090b4f9578ca38ef4250ff3805b6e3f (patch) | |
tree | 04676088e042f083099ae29b5dfbef4265cfd17c /drivers/net/ethernet/mellanox | |
parent | 9063e21fb026c4966fc93261c18322214f9835eb (diff) | |
download | op-kernel-dev-c120e9e03090b4f9578ca38ef4250ff3805b6e3f.zip op-kernel-dev-c120e9e03090b4f9578ca38ef4250ff3805b6e3f.tar.gz |
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>
Diffstat (limited to 'drivers/net/ethernet/mellanox')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx5/core/main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/main.c b/drivers/net/ethernet/mellanox/mlx5/core/main.c index 6f7c866..77ac95f 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/main.c +++ b/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; |