[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 36ef93fb040be249da617399d907061e39bedd01..bfffb5d74220b0d3ee0b61d8dfed42e4dcc4303a 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;