mirror of
https://github.com/torvalds/linux.git
synced 2026-05-25 23:52:08 +02: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:
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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user