Skip to contentSkip to conversation

v4l: Remove unused variable

PATCH New Charles Keepax 1 participant 1 message Mar 28, 2016 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 v4l: Remove unused variable

---
 drivers/media/v4l2-core/v4l2-mc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Based off Linus's tree, apologies but I was having some difficulty finding the correct tree/branch to base this on, but it is causing a warning on Linus's tree.

Thanks,
Charles

drivers/media/v4l2-core/v4l2-mc.c +1 -1
index 2a7b79b..2228cd3 100644
@@ -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;
Signature · 1 line
2.1.4