[media] saa7164: fix vbi compiler warnings
authorSteven Toth <stoth@kernellabs.com>
Sat, 31 Jul 2010 19:34:58 +0000 (16:34 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Oct 2010 09:55:17 +0000 (07:55 -0200)
Signed-off-by: Steven Toth <stoth@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/saa7164/saa7164-vbi.c

index 36ef93f..bfffb5d 100644 (file)
@@ -988,9 +988,6 @@ out:
 
 int saa7164_vbi_fmt(struct file *file, void *priv, struct v4l2_format *f)
 {
-       struct saa7164_vbi_fh *fh = priv;
-       struct saa7164_port *port = fh->port;
-
        /* ntsc */
        f->fmt.vbi.samples_per_line = 1600;
        f->fmt.vbi.samples_per_line = 1440;