media: rcar_vpu: Drop unneeded job_ready

It is not required to implement job_ready().
Since this one is dummy, we can drop it.

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>
This commit is contained in:
Ezequiel Garcia 2018-06-14 11:34:05 -04:00 committed by Mauro Carvalho Chehab
parent d7e913cc58
commit aed19754c4

View File

@ -1494,11 +1494,6 @@ static void jpu_device_run(void *priv)
spin_unlock_irqrestore(&ctx->jpu->lock, flags);
}
static int jpu_job_ready(void *priv)
{
return 1;
}
static void jpu_job_abort(void *priv)
{
struct jpu_ctx *ctx = priv;
@ -1510,7 +1505,6 @@ static void jpu_job_abort(void *priv)
static const struct v4l2_m2m_ops jpu_m2m_ops = {
.device_run = jpu_device_run,
.job_ready = jpu_job_ready,
.job_abort = jpu_job_abort,
};