Re: [PATCH] ext4: Remove unneeded if checks before kfree

From: IBM
Date: Tue Mar 05 2024 - 12:17:05 EST


Thorsten Blum <thorsten.blum@xxxxxxxxxx> writes:

> kfree already checks if its argument is NULL. This fixes two
> Coccinelle/coccicheck warnings reported by ifnullfree.cocci.
>
> Signed-off-by: Thorsten Blum <thorsten.blum@xxxxxxxxxx>
> ---
> fs/ext4/super.c | 6 ++----
> 1 file changed, 2 insertions(+), 4 deletions(-)
>

Sure. Thanks for your patch.
Looks good to me. Feel free to add -

Reviewed-by: Ritesh Harjani (IBM) <ritesh.list@xxxxxxxxx>