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

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
...@@ -591,7 +591,6 @@ static int client_common_fill_super(struct super_block *sb, char *md, char *dt, ...@@ -591,7 +591,6 @@ static int client_common_fill_super(struct super_block *sb, char *md, char *dt,
return err; return err;
out_root: out_root:
if (root)
iput(root); iput(root);
out_lock_cn_cb: out_lock_cn_cb:
obd_fid_fini(sbi->ll_dt_exp->exp_obd); obd_fid_fini(sbi->ll_dt_exp->exp_obd);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment