diff --git a/drivers/staging/lustre/lustre/llite/llite_lib.c b/drivers/staging/lustre/lustre/llite/llite_lib.c index 844182ad7dd7..bc5d6b6ac429 100644 --- a/drivers/staging/lustre/lustre/llite/llite_lib.c +++ b/drivers/staging/lustre/lustre/llite/llite_lib.c @@ -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 */