[media] vivi: drop unused field
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 10 Feb 2014 11:08:46 +0000 (08:08 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Mon, 24 Feb 2014 13:58:05 +0000 (10:58 -0300)
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/vivi.c

index eb09fe6b39ef54bb247b54dda6590e69cac5ffc5..4114bb624b13e514f1856d2a0d607493795c9a5f 100644 (file)
@@ -191,7 +191,6 @@ struct vivi_buffer {
        /* common v4l buffer stuff -- must be first */
        struct vb2_buffer       vb;
        struct list_head        list;
-       const struct vivi_fmt  *fmt;
 };
 
 struct vivi_dmaqueue {
@@ -875,8 +874,6 @@ static int buffer_prepare(struct vb2_buffer *vb)
 
        vb2_set_plane_payload(&buf->vb, 0, size);
 
-       buf->fmt = dev->fmt;
-
        precalculate_bars(dev);
        precalculate_line(dev);