]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: lustre: lustre: ptlrpc: Donot initialise null
authorHema Prathaban <hemaklnce@gmail.com>
Thu, 14 Aug 2014 07:20:04 +0000 (12:50 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 16 Aug 2014 19:23:18 +0000 (12:23 -0700)
This patch fixes the following error using checkpatch.pl
Error: Do not initialise statics to 0 or NULL

Signed-off-by: Hema Prathaban <hemaklnce@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/ptlrpc/connection.c

index adff1ab4f5a496e1b2a0a97d57fd748005d62d73..62154c45f420af4bd33c5b73130d478b4d7bf377 100644 (file)
@@ -41,7 +41,7 @@
 
 #include "ptlrpc_internal.h"
 
-static struct cfs_hash *conn_hash = NULL;
+static struct cfs_hash *conn_hash;
 static cfs_hash_ops_t conn_hash_ops;
 
 struct ptlrpc_connection *