[media] radio-si4713.c: fix compiler warning
authorHans Verkuil <hans.verkuil@cisco.com>
Thu, 25 Aug 2011 12:14:57 +0000 (09:14 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 6 Sep 2011 17:38:21 +0000 (14:38 -0300)
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/radio/radio-si4713.c

index 444b4cf7e65c0ae14e8454954ea199567487c437..d1fab58850612a333fea3a5f26603bf04c52bc90 100644 (file)
@@ -92,10 +92,6 @@ static int radio_si4713_s_audout(struct file *file, void *priv,
 static int radio_si4713_querycap(struct file *file, void *priv,
                                        struct v4l2_capability *capability)
 {
-       struct radio_si4713_device *rsdev;
-
-       rsdev = video_get_drvdata(video_devdata(file));
-
        strlcpy(capability->driver, "radio-si4713", sizeof(capability->driver));
        strlcpy(capability->card, "Silicon Labs Si4713 Modulator",
                                sizeof(capability->card));