Commit 89982113 authored by Santha Meena Ramamoorthy's avatar Santha Meena Ramamoorthy Committed by Greg Kroah-Hartman

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: default avatarSantha Meena Ramamoorthy <santhameena13@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8bae455e
...@@ -1193,14 +1193,13 @@ static int ll_update_lsm_md(struct inode *inode, struct lustre_md *md) ...@@ -1193,14 +1193,13 @@ static int ll_update_lsm_md(struct inode *inode, struct lustre_md *md)
lmv_free_memmd(lli->lli_lsm_md); lmv_free_memmd(lli->lli_lsm_md);
lli->lli_lsm_md = NULL; lli->lli_lsm_md = NULL;
return 0; return 0;
} else { }
/* /*
* The lustre_md from req does not include stripeEA, * The lustre_md from req does not include stripeEA,
* see ll_md_setattr * see ll_md_setattr
*/ */
return 0; return 0;
} }
}
/* set the directory layout */ /* set the directory layout */
if (!lli->lli_lsm_md) { if (!lli->lli_lsm_md) {
......
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