staging: dgnc: Do not initialise statics to 0 or NULL
authorRoberta Dobrescu <roberta.dobrescu@gmail.com>
Tue, 16 Sep 2014 17:33:03 +0000 (20:33 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Sep 2014 00:21:27 +0000 (17:21 -0700)
This fixes the following checkpatch.pl error:
ERROR: do not initialise statics to 0 or NULL

Signed-off-by: Roberta Dobrescu <roberta.dobrescu@gmail.com>
Acked-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgnc/dgnc_tty.c

index cbfa533ffb2416a09f7edc7372114cc6035d0db4..012a5ef364e25a7ee2b0b4744a2a9c52fd9054ff 100644 (file)
@@ -67,7 +67,7 @@
  * internal variables
  */
 static struct dgnc_board       *dgnc_BoardsByMajor[256];
-static uchar           *dgnc_TmpWriteBuf = NULL;
+static uchar           *dgnc_TmpWriteBuf;
 static DECLARE_MUTEX(dgnc_TmpWriteSem);
 
 /*