From 84dd801ef2ec6dceefbcfd917b90cb83b036fd56 Mon Sep 17 00:00:00 2001 From: Tapasweni Pathak Date: Mon, 29 Sep 2014 16:01:39 +0530 Subject: [PATCH] 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 Signed-off-by: Greg Kroah-Hartman --- drivers/staging/lustre/include/linux/libcfs/libcfs_time.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) \ -- 2.30.2