aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/platform/rcar_jpu.c
diff options
context:
space:
mode:
authorEzequiel Garcia2018-06-14 11:34:05 -0400
committerMauro Carvalho Chehab2018-06-28 07:57:33 -0400
commitaed19754c491b336cb40bbd3f072b0e9e1397200 (patch)
tree555d2fd2a9bf7e2f4496732a0b77483f69d95d6a /drivers/media/platform/rcar_jpu.c
parentd7e913cc58c5f6db5159c72e8f8d1f2be9e2fe2f (diff)
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>
Diffstat (limited to 'drivers/media/platform/rcar_jpu.c')
-rw-r--r--drivers/media/platform/rcar_jpu.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/media/platform/rcar_jpu.c b/drivers/media/platform/rcar_jpu.c
index 8b44a849ab41..690631747c5e 100644
--- a/drivers/media/platform/rcar_jpu.c
+++ b/drivers/media/platform/rcar_jpu.c
@@ -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,
};