From: Hans Verkuil Date: Mon, 10 Feb 2014 11:08:46 +0000 (-0300) Subject: [media] vivi: drop unused field X-Git-Tag: firefly_0821_release~176^2~3573^2~678 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=38aed47b7e0f6e9a6fe38ef7544970604f7bb595;p=firefly-linux-kernel-4.4.55.git [media] vivi: drop unused field Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/platform/vivi.c b/drivers/media/platform/vivi.c index eb09fe6b39ef..4114bb624b13 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);