summaryrefslogtreecommitdiffstats
path: root/drivers/staging/dgnc
diff options
context:
space:
mode:
authorRoberta Dobrescu <roberta.dobrescu@gmail.com>2014-09-16 20:33:03 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-09-19 17:21:27 -0700
commit05a70e14035438e6866d7fcf8a79c67b8e1425e1 (patch)
treeccdd35b826e5d9a78dd48b4760e177d7b5d79b01 /drivers/staging/dgnc
parentb051017fb4e593998fc46ec9a991ad390c9114b5 (diff)
downloadop-kernel-dev-05a70e14035438e6866d7fcf8a79c67b8e1425e1.zip
op-kernel-dev-05a70e14035438e6866d7fcf8a79c67b8e1425e1.tar.gz
staging: dgnc: Do not initialise statics to 0 or NULL
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>
Diffstat (limited to 'drivers/staging/dgnc')
-rw-r--r--drivers/staging/dgnc/dgnc_tty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/dgnc/dgnc_tty.c b/drivers/staging/dgnc/dgnc_tty.c
index cbfa533..012a5ef 100644
--- a/drivers/staging/dgnc/dgnc_tty.c
+++ b/drivers/staging/dgnc/dgnc_tty.c
@@ -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);
/*
OpenPOWER on IntegriCloud