aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/platform/vsp1/vsp1_video.c2
-rw-r--r--drivers/media/platform/vsp1/vsp1_video.h1
2 files changed, 0 insertions, 3 deletions
diff --git a/drivers/media/platform/vsp1/vsp1_video.c b/drivers/media/platform/vsp1/vsp1_video.c
index 8a1253e51f04..677e3aa04eee 100644
--- a/drivers/media/platform/vsp1/vsp1_video.c
+++ b/drivers/media/platform/vsp1/vsp1_video.c
@@ -654,8 +654,6 @@ static int vsp1_video_buffer_prepare(struct vb2_buffer *vb)
654 if (vb->num_planes < format->num_planes) 654 if (vb->num_planes < format->num_planes)
655 return -EINVAL; 655 return -EINVAL;
656 656
657 buf->video = video;
658
659 for (i = 0; i < vb->num_planes; ++i) { 657 for (i = 0; i < vb->num_planes; ++i) {
660 buf->addr[i] = vb2_dma_contig_plane_dma_addr(vb, i); 658 buf->addr[i] = vb2_dma_contig_plane_dma_addr(vb, i);
661 buf->length[i] = vb2_plane_size(vb, i); 659 buf->length[i] = vb2_plane_size(vb, i);
diff --git a/drivers/media/platform/vsp1/vsp1_video.h b/drivers/media/platform/vsp1/vsp1_video.h
index c04d48fa2999..7284320d5433 100644
--- a/drivers/media/platform/vsp1/vsp1_video.h
+++ b/drivers/media/platform/vsp1/vsp1_video.h
@@ -90,7 +90,6 @@ static inline struct vsp1_pipeline *to_vsp1_pipeline(struct media_entity *e)
90} 90}
91 91
92struct vsp1_video_buffer { 92struct vsp1_video_buffer {
93 struct vsp1_video *video;
94 struct vb2_buffer buf; 93 struct vb2_buffer buf;
95 struct list_head queue; 94 struct list_head queue;
96 95