Skip to content
Commit ea7d09ad authored by Thorsten Blum's avatar Thorsten Blum Committed by Theodore Ts'o
Browse files

ext4: remove unneeded if checks before kfree



kfree already checks if its argument is NULL. This fixes two
Coccinelle/coccicheck warnings reported by ifnullfree.cocci.

Signed-off-by: default avatarThorsten Blum <thorsten.blum@toblux.com>
Reviewed-by: default avatarRitesh Harjani (IBM) <ritesh.list@gmail.com>
Link: https://lore.kernel.org/r/20240317153638.2136-2-thorsten.blum@toblux.com


Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
parent a0c7cce8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment