Re: [PATCH v4 13/19] selftests/resctrl: Remove unnecessary startptr global from fill_buf

From: Reinette Chatre
Date: Thu Jul 13 2023 - 19:08:22 EST


Hi Ilpo,

On 7/13/2023 6:19 AM, Ilpo Järvinen wrote:
> fill_buf stores buffer pointer into global variable startptr that is
> only used in fill_cache().
>
> Remove startptr as global variable, the local variable in fill_cache()
> is enough to keep the pointer.
>
> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@xxxxxxxxxxxxxxx>
> ---

Thank you.

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

Reinette