summaryrefslogtreecommitdiff
path: root/drivers/staging/lustre
diff options
context:
space:
mode:
authorTapasweni Pathak <tapaswenipathak@gmail.com>2014-09-29 16:01:39 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-10-02 09:52:14 -0700
commit84dd801ef2ec6dceefbcfd917b90cb83b036fd56 (patch)
treeaa4f090020c4c0da5be5a83783caf0d7b05acca8 /drivers/staging/lustre
parentfd9176527e78ad9358fcf76011bbede0eb4974f8 (diff)
staging: lustre: include: linux: libcfs: Remove intialization of static to 0
This patch fixes checpatch.pl error in file libcfs_time.h ERROR: do not initialise statics to 0 or NULL Signed-off-by: Tapasweni Pathak <tapaswenipathak@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre')
-rw-r--r--drivers/staging/lustre/include/linux/libcfs/libcfs_time.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/lustre/include/linux/libcfs/libcfs_time.h b/drivers/staging/lustre/include/linux/libcfs/libcfs_time.h
index 1344139c46c3..5de6da085712 100644
--- a/drivers/staging/lustre/include/linux/libcfs/libcfs_time.h
+++ b/drivers/staging/lustre/include/linux/libcfs/libcfs_time.h
@@ -94,7 +94,7 @@ static inline void cfs_slow_warning(unsigned long now, int seconds, char *msg)
/* \
* XXX nikita: non-portable initializer \
*/ \
- static time_t __next_message = 0; \
+ static time_t __next_message; \
int result; \
\
if (cfs_time_after(cfs_time_current(), __next_message)) \