v4l2-mc: avoid warning about unused variable
authorLinus Torvalds <torvalds@linux-foundation.org>
Sun, 3 Apr 2016 12:03:49 +0000 (07:03 -0500)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 3 Apr 2016 12:03:49 +0000 (07:03 -0500)
Commit 840f5b0572ea ("media: au0828 disable tuner to demod link in
au0828_media_device_register()") removed all uses of the 'dtv_demod',
but left the variable itself around.

Remove it.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/media/v4l2-core/v4l2-mc.c

index 2a7b79bc90fdbb985a8ffacb84babb27f282aeb2..2228cd3a846e9536295c77faeff5d15bc22d66a3 100644 (file)
@@ -34,7 +34,7 @@ int v4l2_mc_create_media_graph(struct media_device *mdev)
 {
        struct media_entity *entity;
        struct media_entity *if_vid = NULL, *if_aud = NULL;
-       struct media_entity *tuner = NULL, *decoder = NULL, *dtv_demod = NULL;
+       struct media_entity *tuner = NULL, *decoder = NULL;
        struct media_entity *io_v4l = NULL, *io_vbi = NULL, *io_swradio = NULL;
        bool is_webcam = false;
        u32 flags;