staging: lustre: include: linux: libcfs: Remove intialization of static to 0
authorTapasweni Pathak <tapaswenipathak@gmail.com>
Mon, 29 Sep 2014 10:31:39 +0000 (16:01 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Oct 2014 16:52:14 +0000 (09:52 -0700)
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>
drivers/staging/lustre/include/linux/libcfs/libcfs_time.h

index 1344139c46c3e19af1ec28b6fdd0f52e266ea064..5de6da085712bc7647c878ae7b8efd46a9d9e9c6 100644 (file)
@@ -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)) \