summaryrefslogtreecommitdiff
path: root/drivers/media/platform/vivi.c
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2014-02-10 15:08:46 +0400
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-02-24 17:58:05 +0400
commit38aed47b7e0f6e9a6fe38ef7544970604f7bb595 (patch)
treee0113f1b396cbfd2d6d1549a0ae2d06c45032a49 /drivers/media/platform/vivi.c
parentf0af5e8f018daa83a0e8cfe7d406f81be82ae45d (diff)
downloadlinux-38aed47b7e0f6e9a6fe38ef7544970604f7bb595.tar.xz
[media] vivi: drop unused field
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/platform/vivi.c')
-rw-r--r--drivers/media/platform/vivi.c3
1 files changed, 0 insertions, 3 deletions
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);