mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-12 23:54:19 +08:00
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
@ -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…
Reference in New Issue
Block a user