]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
UBIFS: Delete unnecessary checks before the function call "iput"
authorMarkus Elfring <elfring@users.sourceforge.net>
Wed, 4 Nov 2015 19:00:42 +0000 (20:00 +0100)
committerRichard Weinberger <richard@nod.at>
Fri, 6 Nov 2015 22:26:52 +0000 (23:26 +0100)
commit54bcfdf19ec7c2f2788fa76426c91abdc4dab973
tree71f95afe9a00c706ceb563f1d2c9089ec433c201
parenta396ce4bd21dd67bcec2aabc05f81fd2fa14f820
UBIFS: Delete unnecessary checks before the function call "iput"

The iput() function tests whether its argument is NULL and then
returns immediately. Thus the test around the call is not needed.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Richard Weinberger <richard@nod.at>
fs/ubifs/recovery.c