media: davinci: remove redundant assignment to pointer 'common'
authorColin Ian King <colin.king@canonical.com>
Wed, 15 Apr 2020 22:54:11 +0000 (00:54 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 21 Apr 2020 11:24:32 +0000 (13:24 +0200)
The pointer 'common' is being assigned with a value that is never read,
the assignment is redundant and can be removed.

Addresses-Coverity: ("Unused value")

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/davinci/vpif_display.c

index ead14c4..7d55fd4 100644 (file)
@@ -1225,7 +1225,6 @@ static int vpif_probe_complete(void)
 probe_out:
        for (k = 0; k < j; k++) {
                ch = vpif_obj.dev[k];
-               common = &ch->common[k];
                video_unregister_device(&ch->video_dev);
        }
        return err;