Re: [PATCH 1/2] ACPI: HMAT: remove unnecessary variable initialization

2022-11-16 Thread Kirill A. Shutemov
On Wed, Nov 16, 2022 at 12:57:35AM -0700, Vishal Verma wrote: > In hmat_register_target_initiators(), the variable 'best' gets > initialized in the outer per-locality-type for loop. The initialization > just before setting up 'Access 1' targets was unnecessary. Remove it. > > Cc: Rafael J. Wysocki

[PATCH 1/2] ACPI: HMAT: remove unnecessary variable initialization

2022-11-15 Thread Vishal Verma
In hmat_register_target_initiators(), the variable 'best' gets initialized in the outer per-locality-type for loop. The initialization just before setting up 'Access 1' targets was unnecessary. Remove it. Cc: Rafael J. Wysocki Cc: Liu Shixin Cc: Dan Williams Signed-off-by: Vishal Verma --- dr