Commit 85f42985 authored by Colin Ian King's avatar Colin Ian King Committed by Mauro Carvalho Chehab

media: drivers/media/pci/zoran: remove redundant assignment to pointer h

The pointer h is already initialized to codeclist_top so the second
identical assignment is redundant and can be removed. Cleans up clang
warning:

drivers/media/pci/zoran/videocodec.c:322:21: warning: Value stored to 'h'
during its initialization is never read
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 60a88186
...@@ -325,7 +325,6 @@ static int proc_videocodecs_show(struct seq_file *m, void *v) ...@@ -325,7 +325,6 @@ static int proc_videocodecs_show(struct seq_file *m, void *v)
seq_printf(m, "<S>lave or attached <M>aster name type flags magic "); seq_printf(m, "<S>lave or attached <M>aster name type flags magic ");
seq_printf(m, "(connected as)\n"); seq_printf(m, "(connected as)\n");
h = codeclist_top;
while (h) { while (h) {
seq_printf(m, "S %32s %04x %08lx %08lx (TEMPLATE)\n", seq_printf(m, "S %32s %04x %08lx %08lx (TEMPLATE)\n",
h->codec->name, h->codec->type, h->codec->name, h->codec->type,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment