commit | ecd01db8711d4c608ef6636275e26a8b2069b798 | [log] [tgz] |
---|---|---|
author | Parav Pandit <parav@mellanox.com> | Sun Mar 08 22:19:51 2020 -0500 |
committer | Saeed Mahameed <saeedm@mellanox.com> | Wed Mar 25 23:19:13 2020 -0700 |
tree | 7584a796dce9f1413162ff49227daa13ad822551 | |
parent | dc638d1122d25d44e480070fc3497e80fda5aff0 [diff] |
net/mlx5: Simplify mlx5_register_device to return void mlx5_register_device() doesn't check for any error and always returns 0. Simplify mlx5_register_device() to return void and its caller, remove dead code related to it. Reviewed-by: Moshe Shemesh <moshe@mellanox.com> Signed-off-by: Parav Pandit <parav@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>