[media] vb2: simplify a confusing condition
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 24 Feb 2014 18:52:04 +0000 (15:52 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Wed, 16 Apr 2014 21:47:20 +0000 (18:47 -0300)
commit57394b72ef2b6dcf335999a7aebe69eb52142884
treeb2334a2e7554342b7210e1045bb692ad1f20276a
parente35e41b57624b9a8c0014420cdfb24454e4773c5
[media] vb2: simplify a confusing condition

q->start_streaming_called is always true, so the WARN_ON check against
it being false can be dropped.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Pawel Osciak <pawel@osciak.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/v4l2-core/videobuf2-core.c