[media] mem2mem-emmaprp: Remove unneeded struct vb2_queue clear on queue_init()
authorEzequiel García <elezegarcia@gmail.com>
Thu, 23 Aug 2012 12:08:28 +0000 (09:08 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 15 Sep 2012 14:47:24 +0000 (11:47 -0300)
commit8c6f59f9795e03f4bec3f176df26bd1ff755afa1
tree2039e830b7c5ad9769240d6c9172201e7d5c6bfd
parent55d594211aa65f9cbd6409056cdd5aa27bec92ec
[media] mem2mem-emmaprp: Remove unneeded struct vb2_queue clear on queue_init()

queue_init() is always called by v4l2_m2m_ctx_init(), which allocates
a context struct v4l2_m2m_ctx with kzalloc.
Therefore, there is no need to clear vb2_queue src/dst structs.

Signed-off-by: Ezequiel Garcia <elezegarcia@gmail.com>
Acked-by: Javier Martin <javier.martin@vista-silicon.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/mx2_emmaprp.c