LinuxTV Patchwork staging: media: zoran: Fixes a checkpatch.pl error in videocodec.c

login
register
mail settings
Submitter claudiojpaz
Date March 9, 2019, 5:50 p.m.
Message ID <20190309175000.14685-1-claudiojpaz@gmail.com>
Download mbox | patch
Permalink /patch/54984/
State Accepted
Delegated to: Hans Verkuil
Headers show

Comments

claudiojpaz - March 9, 2019, 5:50 p.m.
ERROR: do not initialise statics to NULL

Signed-off-by: claudiojpaz <claudiojpaz@gmail.com>
---
 drivers/staging/media/zoran/videocodec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/drivers/staging/media/zoran/videocodec.c b/drivers/staging/media/zoran/videocodec.c
index 4427ae7126e2..044ef8455ba8 100644
--- a/drivers/staging/media/zoran/videocodec.c
+++ b/drivers/staging/media/zoran/videocodec.c
@@ -63,7 +63,7 @@  struct codec_list {
 	struct codec_list *next;
 };
 
-static struct codec_list *codeclist_top = NULL;
+static struct codec_list *codeclist_top;
 
 /* ================================================= */
 /* function prototypes of the master/slave interface */

Privacy Policy