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

media: davinci: remove redundant assignment to pointer common

Pointer common is being assigned a value in a for-loop and the pointer
is never read afterwards. The assignment is redundant and can be removed.

Link: https://lore.kernel.org/linux-media/20211205002242.202769-1-colin.i.king@gmail.comSigned-off-by: default avatarColin Ian King <colin.i.king@gmail.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 213173d9
......@@ -1467,7 +1467,6 @@ static int vpif_probe_complete(void)
for (k = 0; k < j; k++) {
/* Get the pointer to the channel object */
ch = vpif_obj.dev[k];
common = &ch->common[k];
/* Unregister video device */
video_unregister_device(&ch->video_dev);
}
......
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