Staging: irda: net: Do not initialise statics to NULL
authorGeorgiana Chelu <georgiana.chelu93@gmail.com>
Fri, 22 Sep 2017 07:52:12 +0000 (00:52 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 22 Sep 2017 08:53:45 +0000 (10:53 +0200)
commit43aac03aaac35343f6c9a0a9b8159bd1a7fcdeda
tree194ea7a2fbabc699214431748a55f67d971f9b38
parenta050fe5ceb94524cf20afe62f1ee9f8438aff463
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 <georgiana.chelu93@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/irda/net/irda_device.c