mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 12:33:18 -04:00
Staging: lustre: lmv_obd: Remove redundant if-statement.
Remove redundant if-statement. Signed-off-by: Sandhya Bankar <bankarsandhya512@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
6869a11bff
commit
a2576177cc
@@ -949,10 +949,8 @@ static int lmv_hsm_ct_register(struct lmv_obd *lmv, unsigned int cmd, int len,
|
||||
|
||||
rc = libcfs_kkuc_group_add(filp, lk->lk_uid, lk->lk_group,
|
||||
&kcd, sizeof(kcd));
|
||||
if (rc) {
|
||||
if (filp)
|
||||
fput(filp);
|
||||
}
|
||||
if (rc && filp)
|
||||
fput(filp);
|
||||
|
||||
return rc;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user