Răsfoiți Sursa

staging: lustre: checkpatch: do not init global to NULL

Fix checkpatch problem: remove NULL assignment fro global variable

Signed-off-by: Swee Hua Law <sweehua81@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Swee Hua Law 10 ani în urmă
părinte
comite
1b680a8181
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      drivers/staging/lustre/lustre/llite/remote_perm.c

+ 2 - 2
drivers/staging/lustre/lustre/llite/remote_perm.c

@@ -54,8 +54,8 @@
 #include "../include/lustre_param.h"
 #include "llite_internal.h"
 
-struct kmem_cache *ll_remote_perm_cachep = NULL;
-struct kmem_cache *ll_rmtperm_hash_cachep = NULL;
+struct kmem_cache *ll_remote_perm_cachep;
+struct kmem_cache *ll_rmtperm_hash_cachep;
 
 static inline struct ll_remote_perm *alloc_ll_remote_perm(void)
 {