提交 4828d1fd 编写于 作者: Z Zoltán Lajos Kis 提交者: Greg Kroah-Hartman

Staging: lustre: fix braces are not necessary in dt_object.c

Fixes a braces {} are not necessary for any arm of this statement
warning in lustre/lustre/obdclass/dt_object.c that was found by
the checkpatch.pl tool.
Signed-off-by: NZoltán Lajos Kis <zoltan.lajos.kis@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 84ea37b6
...@@ -329,9 +329,9 @@ static struct dt_object *dt_reg_open(const struct lu_env *env, ...@@ -329,9 +329,9 @@ static struct dt_object *dt_reg_open(const struct lu_env *env,
int result; int result;
result = dt_lookup_dir(env, p, name, fid); result = dt_lookup_dir(env, p, name, fid);
if (result == 0){ if (result == 0)
o = dt_locate(env, dt, fid); o = dt_locate(env, dt, fid);
} else else
o = ERR_PTR(result); o = ERR_PTR(result);
return o; return o;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册