From: Ezequiel Garcia Date: Thu, 14 Jun 2018 15:34:05 +0000 (-0400) Subject: media: rcar_vpu: Drop unneeded job_ready X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=aed19754c491b336cb40bbd3f072b0e9e1397200;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- 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, };