From: Hans Verkuil <hans.verk...@cisco.com>

Signed-off-by: Hans Verkuil <hans.verk...@cisco.com>
---
 drivers/media/platform/vivi.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/media/platform/vivi.c b/drivers/media/platform/vivi.c
index eb09fe6..4114bb6 100644
--- a/drivers/media/platform/vivi.c
+++ b/drivers/media/platform/vivi.c
@@ -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);
 
-- 
1.8.5.2

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to