commit | ccc135c380338ccc6643f6dd7f16000ae7384a13 | [log] [tgz] |
---|---|---|
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | Tue Feb 18 10:02:50 2014 -0300 |
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | Fri Feb 28 13:22:27 2014 -0300 |
tree | f76b672ab106adb264975a7b92a18b1d2435ed2e | |
parent | 79af67e77f86404e77e65ad954bfe5030db2ca02 [diff] |
[media] uvcvideo: Remove duplicate check for number of buffers in queue_setup videobuf2 already ensures that the number of buffers will not exceed VIDEO_MAX_FRAME, which is equal to our arbitraty limit of UVC_MAX_VIDEO_BUFFERS. Remove the duplicate check. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Tested-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>