Re: [PATCH 6/7] selftests/resctrl: remove ben_count variable

From: Reinette Chatre
Date: Mon Aug 14 2023 - 13:52:06 EST


Hi Ilpo,

Just a nitpick ... this patch is standing out among the rest by not
starting the subject with a capital letter.

On 8/8/2023 2:16 AM, Ilpo Järvinen wrote:
> ben_count is only used to write the terminator for the list. It is
> enough to use i from the loop so no need for another variable.
>
> Remove ben_count variable as it is not needed.
>
> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@xxxxxxxxxxxxxxx>
> ---
> tools/testing/selftests/resctrl/resctrl_tests.c | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
>

Reviewed-by: Reinette Chatre <reinette.chatre@xxxxxxxxx>

Reinette