mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
Staging: irda: net: Do not initialise statics to NULL
There is no need to initialize static variables to NULL because they are stored in .bss segment. This segment is initialized to 0 at the beginning of the code execution. Issue found by checkpatch.pl. ERROR: do not initialise statics to NULL Signed-off-by: Georgiana Chelu <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
a050fe5ceb
commit
43aac03aaa
1 changed files with 2 additions and 2 deletions
|
|
@ -54,8 +54,8 @@
|
|||
|
||||
static void __irda_task_delete(struct irda_task *task);
|
||||
|
||||
static hashbin_t *dongles = NULL;
|
||||
static hashbin_t *tasks = NULL;
|
||||
static hashbin_t *dongles;
|
||||
static hashbin_t *tasks;
|
||||
|
||||
static void irda_task_timer_expired(void *data);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue