staging: lustre: remove initialisation of static variable
Fix the following checkpatch.pl error: ERROR: do not initialise statics to 0 or NULL +static int libcfs_nidstring_idx = 0; Signed-off-by: Teodora Baluta <teobaluta@gmail.com> Reviewed-by: Lisa Nguyen <lisa@xenapiadmin.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
0b2b3070f1
commit
06fcedc8ea
@@ -56,7 +56,7 @@
|
||||
*/
|
||||
|
||||
static char libcfs_nidstrings[LNET_NIDSTR_COUNT][LNET_NIDSTR_SIZE];
|
||||
static int libcfs_nidstring_idx = 0;
|
||||
static int libcfs_nidstring_idx;
|
||||
|
||||
static spinlock_t libcfs_nidstring_lock;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user