Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

v4l2-mc: avoid warning about unused variable

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>

+1 -1
+1 -1
drivers/media/v4l2-core/v4l2-mc.c
··· 34 34 { 35 35 struct media_entity *entity; 36 36 struct media_entity *if_vid = NULL, *if_aud = NULL; 37 - struct media_entity *tuner = NULL, *decoder = NULL, *dtv_demod = NULL; 37 + struct media_entity *tuner = NULL, *decoder = NULL; 38 38 struct media_entity *io_v4l = NULL, *io_vbi = NULL, *io_swradio = NULL; 39 39 bool is_webcam = false; 40 40 u32 flags;