Browse Source

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>
Tapasweni Pathak 11 years ago
parent
commit
84dd801ef2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/staging/lustre/include/linux/libcfs/libcfs_time.h

+ 1 - 1
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)) \