upstream: [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)
committerChanho Park <chanho61.park@samsung.com>
Thu, 7 Aug 2014 05:26:53 +0000 (14:26 +0900)
commitfb2c2fd9f80ffcbf0c8145ea162206947c2303c2
tree8f3e208def0a0c7c8db310010b95522000744b75
parentc5c7b465db4937192113086b158cb8bba9bc6143
upstream: [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