From: Tapasweni Pathak Date: Mon, 29 Sep 2014 10:31:39 +0000 (+0530) Subject: staging: lustre: include: linux: libcfs: Remove intialization of static to 0 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=84dd801ef2ec6dceefbcfd917b90cb83b036fd56;p=openwrt%2Fstaging%2Fblogic.git 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 --- 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)) \