[media] bfin_capture: drop unnecessary vb2_is_streaming check
authorHans Verkuil <hans.verkuil@cisco.com>
Thu, 17 Apr 2014 05:52:16 +0000 (02:52 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Wed, 23 Apr 2014 13:13:23 +0000 (10:13 -0300)
commit348a634de2407aab8cc9c14a98d8c74aea075bb3
treeff93647aab36416108a7360664cc1387538e4680
parente37559b22c63b557d242bfa1a07ab1b8f7d5d9f1
[media] bfin_capture: drop unnecessary vb2_is_streaming check

The stop_streaming op is only called if streaming is in progress,
so drop the unnecessary 'if (!vb2_is_streaming(vq))' check.

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/platform/blackfin/bfin_capture.c