mirror of
https://github.com/torvalds/linux.git
synced 2024-12-17 00:21:32 +00:00
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:
parent
d7e913cc58
commit
aed19754c4
@ -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,
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user