summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHema Prathaban <hemaklnce@gmail.com>2014-08-14 11:20:04 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-08-16 23:23:18 +0400
commit3901270b1519a6b416383dfb29eeb79ed104dbbf (patch)
tree77393cb31c9027170a1fb41dd922627ef0c2b097
parent0028d585b4f491948c3e732293f5aa781aee1ee9 (diff)
downloadlinux-3901270b1519a6b416383dfb29eeb79ed104dbbf.tar.xz
staging: lustre: lustre: ptlrpc: Donot initialise null
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>
-rw-r--r--drivers/staging/lustre/lustre/ptlrpc/connection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/lustre/lustre/ptlrpc/connection.c b/drivers/staging/lustre/lustre/ptlrpc/connection.c
index adff1ab4f5a4..62154c45f420 100644
--- a/drivers/staging/lustre/lustre/ptlrpc/connection.c
+++ b/drivers/staging/lustre/lustre/ptlrpc/connection.c
@@ -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 *