summaryrefslogtreecommitdiff
path: root/drivers/staging/lustre/lnet
diff options
context:
space:
mode:
authorRashika Kheria <rashika.kheria@gmail.com>2013-10-26 00:24:03 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-10-26 20:34:53 -0700
commitad0a75b4b74ae7a676b0d5267d5997a20206d791 (patch)
tree937516739a14b57b4d9bb96d9e5213e0080e9211 /drivers/staging/lustre/lnet
parente46b3a0bd5d6ffaac2da893f0e71dc284bf6dcc8 (diff)
Staging: lustre: Fix initialisation of statics to NULL or 0
This patch fixes the following checkpatch.pl error in lnet/lnet/config.c: ERROR: do not initialise statics to 0 or NULL Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/lnet')
-rw-r--r--drivers/staging/lustre/lnet/lnet/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/lustre/lnet/lnet/config.c b/drivers/staging/lustre/lnet/lnet/config.c
index 6328a0e2eb2a..de323f779db8 100644
--- a/drivers/staging/lustre/lnet/lnet/config.c
+++ b/drivers/staging/lustre/lnet/lnet/config.c
@@ -43,7 +43,7 @@ typedef struct { /* tmp struct for parsing routes */
char ltb_text[0]; /* text buffer */
} lnet_text_buf_t;
-static int lnet_tbnob = 0; /* track text buf allocation */
+static int lnet_tbnob; /* track text buf allocation */
#define LNET_MAX_TEXTBUF_NOB (64<<10) /* bound allocation */
#define LNET_SINGLE_TEXTBUF_NOB (4<<10)