Staging: lustre: libcfs_cpu: Fix ERROR: do not initialise globals to 0 or NULL
authoranuvazhayil <anuv.1994@gmail.com>
Tue, 28 Oct 2014 21:43:54 +0000 (03:13 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Oct 2014 07:39:55 +0000 (15:39 +0800)
Fixed the ERROR: do not initialise globals to 0 or NULL

Signed-off-by: anuvazhayil <anuv.1994@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/libcfs/libcfs_cpu.c

index dbb81b6cc200ca1c4aa4bb9fa771e2acd1411c3a..31a558115a96b427d9453dd6bc1ac385a278fa73 100644 (file)
@@ -38,7 +38,7 @@
 #include "../../include/linux/libcfs/libcfs.h"
 
 /** Global CPU partition table */
-struct cfs_cpt_table   *cfs_cpt_table __read_mostly = NULL;
+struct cfs_cpt_table   *cfs_cpt_table __read_mostly;
 EXPORT_SYMBOL(cfs_cpt_table);
 
 #ifndef HAVE_LIBCFS_CPT