diff options
author | Kleber Sacilotto de Souza <klebers@linux.vnet.ibm.com> | 2014-03-07 23:48:25 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-03-10 20:23:22 +0100 |
commit | c120e9e03090b4f9578ca38ef4250ff3805b6e3f (patch) | |
tree | 04676088e042f083099ae29b5dfbef4265cfd17c /drivers | |
parent | netlink: autosize skb lengthes (diff) | |
download | linux-c120e9e03090b4f9578ca38ef4250ff3805b6e3f.tar.xz linux-c120e9e03090b4f9578ca38ef4250ff3805b6e3f.zip |
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')
-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 6f7c866d0bfa..77ac95f052da 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; |