Commit ddafd514 authored by Tobias Klauser's avatar Tobias Klauser Committed by Greg Kroah-Hartman
Browse files

staging/lustre/llite: Remove unnecessary check for NULL before iput()



iput() already checks for the inode being NULL, thus it's unnecessary to
check before calling.

Signed-off-by: default avatarTobias Klauser <tklauser@distanz.ch>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4764ca98
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -591,7 +591,6 @@ static int client_common_fill_super(struct super_block *sb, char *md, char *dt,

	return err;
out_root:
	if (root)
	iput(root);
out_lock_cn_cb:
	obd_fid_fini(sbi->ll_dt_exp->exp_obd);