aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRashika Kheria <[email protected]>2013-10-24 19:29:52 +0530
committerGreg Kroah-Hartman <[email protected]>2013-10-26 20:27:06 -0700
commit9f100b8b66d3532defb4205b3f63674363c81575 (patch)
treeb68ff210ded36befa1005d2f36f7efa1baebb887
parent5129097bf1d24e3be897091f3747f9fd0fce8ea8 (diff)
Staging: lustre: Fix initialisation of statics to 0 or NULL
This patch fixes the following checkpatch.pl issues in lnet/lnet/acceptor.c: ERROR: do not initialise statics to 0 or NULL Signed-off-by: Rashika Kheria <[email protected]> Reviewed-by: Lisa Nguyen <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r--drivers/staging/lustre/lnet/lnet/acceptor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/lustre/lnet/lnet/acceptor.c b/drivers/staging/lustre/lnet/lnet/acceptor.c
index 7de86302c8c1..2beb9a003276 100644
--- a/drivers/staging/lustre/lnet/lnet/acceptor.c
+++ b/drivers/staging/lustre/lnet/lnet/acceptor.c
@@ -73,7 +73,7 @@ CFS_MODULE_PARM(accept_backlog, "i", int, 0444,
CFS_MODULE_PARM(accept_timeout, "i", int, 0644,
"Acceptor's timeout (seconds)");
-static char *accept_type = NULL;
+static char *accept_type;
int
lnet_acceptor_get_tunables(void)