media: mem2mem: Remove excessive try_run call
authorEzequiel Garcia <ezequiel@collabora.com>
Tue, 12 Jun 2018 13:22:51 +0000 (09:22 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 28 Jun 2018 11:53:44 +0000 (07:53 -0400)
commit34dbb848d5e47f0a16abeb40885f93dd43045ff1
tree95210e9b629ac4094a03c332432465b9e6ec3d50
parenta4367ff42dde5d24f5217edba7c54cd13e21b2b6
media: mem2mem: Remove excessive try_run call

If there is a schedulable job, v4l2_m2m_try_schedule() calls
v4l2_m2m_try_run(). This makes the unconditional v4l2_m2m_try_run()
called by v4l2_m2m_job_finish superfluous. Remove it.

Fixes: 7f98639def42 ("V4L/DVB: add memory-to-memory device helper framework for videobuf")

Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/v4l2-core/v4l2-mem2mem.c