Skip to content

Commit 84dd801

Browse files
tapaswenipathakgregkh
authored andcommitted
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>
1 parent fd91765 commit 84dd801

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/staging/lustre/include/linux/libcfs/libcfs_time.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ static inline void cfs_slow_warning(unsigned long now, int seconds, char *msg)
9494
/* \
9595
* XXX nikita: non-portable initializer \
9696
*/ \
97-
static time_t __next_message = 0; \
97+
static time_t __next_message; \
9898
int result; \
9999
\
100100
if (cfs_time_after(cfs_time_current(), __next_message)) \

0 commit comments

Comments
 (0)