]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: mlx5e_hv_vhca_stats_create return type to void
authorSaeed Mahameed <saeedm@nvidia.com>
Thu, 23 Dec 2021 19:28:09 +0000 (11:28 -0800)
committerSaeed Mahameed <saeedm@nvidia.com>
Fri, 7 Jan 2022 00:22:50 +0000 (16:22 -0800)
commitafdead538949150bd442cddd17d4dd5276a892d2
tree5ffaac981426fd658b2ed82ae904763ca7809cc3
parent7805ff8babbbd06d7acf7e49e3c133ebfe4377df
net/mlx5: mlx5e_hv_vhca_stats_create return type to void

Callers of this functions ignore its return value, as reported by
Wang Qing, in one of the return paths, it returns positive values.

Since return value is ignored anyways, void out the return type of the
function.

Reported-by: Wang Qing <wangqing@vivo.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en/hv_vhca_stats.c
drivers/net/ethernet/mellanox/mlx5/core/en/hv_vhca_stats.h