提交 d6b87b0a 编写于 作者: A Arno Tiemersma 提交者: Greg Kroah-Hartman

staging: lustre: Add blank lines after declarations

Fixes this checkpatch warning:
WARNING: Missing a blank line after declarations
Signed-off-by: NArno Tiemersma <arno.tiemersma@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 5e0db1a3
...@@ -135,6 +135,7 @@ static inline struct ccc_thread_info *ccc_env_info(const struct lu_env *env) ...@@ -135,6 +135,7 @@ static inline struct ccc_thread_info *ccc_env_info(const struct lu_env *env)
static inline struct cl_attr *ccc_env_thread_attr(const struct lu_env *env) static inline struct cl_attr *ccc_env_thread_attr(const struct lu_env *env)
{ {
struct cl_attr *attr = &ccc_env_info(env)->cti_attr; struct cl_attr *attr = &ccc_env_info(env)->cti_attr;
memset(attr, 0, sizeof(*attr)); memset(attr, 0, sizeof(*attr));
return attr; return attr;
} }
...@@ -142,6 +143,7 @@ static inline struct cl_attr *ccc_env_thread_attr(const struct lu_env *env) ...@@ -142,6 +143,7 @@ static inline struct cl_attr *ccc_env_thread_attr(const struct lu_env *env)
static inline struct cl_io *ccc_env_thread_io(const struct lu_env *env) static inline struct cl_io *ccc_env_thread_io(const struct lu_env *env)
{ {
struct cl_io *io = &ccc_env_info(env)->cti_io; struct cl_io *io = &ccc_env_info(env)->cti_io;
memset(io, 0, sizeof(*io)); memset(io, 0, sizeof(*io));
return io; return io;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册