]> git.baikalelectronics.ru Git - kernel.git/commit
gfs2: Remove redundant NULL check before kfree
authorMinghao Chi <chi.minghao@zte.com.cn>
Thu, 2 Jun 2022 07:19:39 +0000 (07:19 +0000)
committerAndreas Gruenbacher <agruenba@redhat.com>
Fri, 3 Jun 2022 07:57:16 +0000 (09:57 +0200)
commit78842c58c86f2bf2cab0735ce517bfc56838d888
tree886b85bd438149f7d35bc31cfab323a6fb0006d3
parentdb0355909d0c5c90cea21da362c8f6faa3e75b4d
gfs2: Remove redundant NULL check before kfree

kfree on NULL pointer is a no-op.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Minghao Chi <chi.minghao@zte.com.cn>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/file.c