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:
parent
0b2b3070f1
commit
06fcedc8ea
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue