hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/drivers/net/ethernet/mellanox/mlx5/core/sriov.c
....@@ -211,8 +211,7 @@
211211 host_total_vfs = MLX5_GET(query_esw_functions_out, out,
212212 host_params_context.host_total_vfs);
213213 kvfree(out);
214
- if (host_total_vfs)
215
- return host_total_vfs;
214
+ return host_total_vfs;
216215 }
217216
218217 done: