diff options
Diffstat (limited to 'drivers/media/test-drivers/vivid/vivid-meta-cap.c')
-rw-r--r-- | drivers/media/test-drivers/vivid/vivid-meta-cap.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/media/test-drivers/vivid/vivid-meta-cap.c b/drivers/media/test-drivers/vivid/vivid-meta-cap.c index 780f96860a..0a718d037e 100644 --- a/drivers/media/test-drivers/vivid/vivid-meta-cap.c +++ b/drivers/media/test-drivers/vivid/vivid-meta-cap.c @@ -30,9 +30,6 @@ static int meta_cap_queue_setup(struct vb2_queue *vq, unsigned int *nbuffers, sizes[0] = size; } - if (vq->num_buffers + *nbuffers < 2) - *nbuffers = 2 - vq->num_buffers; - *nplanes = 1; return 0; } |