IB/mlx5_core: remove unreachable function call in module init
authorKleber Sacilotto de Souza <klebers@linux.vnet.ibm.com>
Fri, 7 Mar 2014 22:48:25 +0000 (19:48 -0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Mar 2014 19:23:22 +0000 (15:23 -0400)
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>
drivers/net/ethernet/mellanox/mlx5/core/main.c

index 6f7c866d0bfa247b2b0f6485a2bbf474f0e70d9f..77ac95f052da81e31608891129141e43f9e61659 100644 (file)
@@ -531,7 +531,6 @@ static int __init init(void)
 
        return 0;
 
-       mlx5_health_cleanup();
 err_debug:
        mlx5_unregister_debugfs();
        return err;