]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ext4: remove unneeded if checks before kfree
authorThorsten Blum <thorsten.blum@toblux.com>
Sun, 17 Mar 2024 15:36:39 +0000 (16:36 +0100)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 2 May 2024 18:44:51 +0000 (14:44 -0400)
commitea7d09ad7c280122a322f408672ab8d75c1a0e30
tree650e70765063bea4ad4a090e9a9156f93c885031
parenta0c7cce824a54dbb83bb722df19f1ddcfa5f8d25
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: Thorsten Blum <thorsten.blum@toblux.com>
Reviewed-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
Link: https://lore.kernel.org/r/20240317153638.2136-2-thorsten.blum@toblux.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/super.c