diff options
author | Roberta Dobrescu <roberta.dobrescu@gmail.com> | 2014-09-16 19:33:03 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-20 02:21:27 +0200 |
commit | 05a70e14035438e6866d7fcf8a79c67b8e1425e1 (patch) | |
tree | ccdd35b826e5d9a78dd48b4760e177d7b5d79b01 /drivers | |
parent | staging: dgnc: Replace kzalloc with kcalloc (diff) | |
download | linux-05a70e14035438e6866d7fcf8a79c67b8e1425e1.tar.xz linux-05a70e14035438e6866d7fcf8a79c67b8e1425e1.zip |
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')
-rw-r--r-- | drivers/staging/dgnc/dgnc_tty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/dgnc/dgnc_tty.c b/drivers/staging/dgnc/dgnc_tty.c index cbfa533ffb24..012a5ef364e2 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); /* |