Re: [PATCH V2] mm/slab.c: Delete the if statement

From: David Rientjes
Date: Thu Jan 12 2023 - 18:53:36 EST


On Wed, 11 Jan 2023, lvqian@xxxxxxxxxxxx wrote:

> From: lvqian <lvqian@xxxxxxxxxxxx>
>
> Remove the if statement to increase code readability.
>
> Signed-off-by: lvqian <lvqian@xxxxxxxxxxxx>

Acked-by: David Rientjes <rientjes@xxxxxxxxxx>

Will rely on Vlastimil to remove the spurious tab in the commit
description. Function could be inline, but no strong preference.