瀏覽代碼

staging: lustre: lclient: lcommon_cl.c fixing coding style issues

fixed:  ERROR: do not initialise statics to 0 or NULL

Signed-off-by: Anil Belur <askb23@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Anil Belur 11 年之前
父節點
當前提交
847d47faa3
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/staging/lustre/lustre/lclient/lcommon_cl.c

+ 1 - 1
drivers/staging/lustre/lustre/lclient/lcommon_cl.c

@@ -266,7 +266,7 @@ int ccc_req_init(const struct lu_env *env, struct cl_device *dev,
  * fails. Access to this environment is serialized by ccc_inode_fini_guard
  * mutex.
  */
-static struct lu_env *ccc_inode_fini_env = NULL;
+static struct lu_env *ccc_inode_fini_env;
 
 /**
  * A mutex serializing calls to slp_inode_fini() under extreme memory