]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Simplify mlx5_unload_one() and its callers
authorParav Pandit <parav@mellanox.com>
Mon, 9 Mar 2020 04:17:37 +0000 (23:17 -0500)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 26 Mar 2020 06:19:15 +0000 (23:19 -0700)
commit53b8d9ed26f202bc44cfd3255a79848123984347
tree26c4351de16c5a9d7581665f6389bc31eee57675
parentdac5e4ebe3e618e68ebe7c2b2db2fb7f49d94cab
net/mlx5: Simplify mlx5_unload_one() and its callers

mlx5_unload_one() always returns 0.
Simplify callers of mlx5_unload_one() and remove the dead code.

Reviewed-by: Moshe Shemesh <moshe@mellanox.com>
Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/devlink.c
drivers/net/ethernet/mellanox/mlx5/core/main.c
drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h