mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 03:10:30 -04:00
staging: lustre: remove else after return statement
Remove else after a return statement as it is not useful. Issue found using checkpatch. Signed-off-by: Santha Meena Ramamoorthy <santhameena13@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
8bae455e57
commit
899821135c
@@ -1193,13 +1193,12 @@ static int ll_update_lsm_md(struct inode *inode, struct lustre_md *md)
|
||||
lmv_free_memmd(lli->lli_lsm_md);
|
||||
lli->lli_lsm_md = NULL;
|
||||
return 0;
|
||||
} else {
|
||||
/*
|
||||
* The lustre_md from req does not include stripeEA,
|
||||
* see ll_md_setattr
|
||||
*/
|
||||
return 0;
|
||||
}
|
||||
/*
|
||||
* The lustre_md from req does not include stripeEA,
|
||||
* see ll_md_setattr
|
||||
*/
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* set the directory layout */
|
||||
|
||||
Reference in New Issue
Block a user