From: Hans Verkuil Date: Mon, 10 Feb 2014 11:08:46 +0000 (-0300) Subject: [media] vivi: drop unused field X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=38aed47b7e0f6e9a6fe38ef7544970604f7bb595;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.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);