staging: lustre: llite: Remove redundant else keyword
There is no need to use 'else' if in main branch 'return' is present. Signed-off-by: Luis de Bethencourt <luisbg@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
30c1e39fb6
commit
5f10b935d1
|
@ -699,7 +699,7 @@ static int vvp_io_read_start(const struct lu_env *env,
|
|||
result = vvp_prep_size(env, obj, io, pos, tot, &exceed);
|
||||
if (result != 0)
|
||||
return result;
|
||||
else if (exceed != 0)
|
||||
if (exceed != 0)
|
||||
goto out;
|
||||
|
||||
LU_OBJECT_HEADER(D_INODE, env, &obj->co_lu,
|
||||
|
|
Loading…
Reference in New Issue