media: coda: drop unused irqlock

The irqlock spinlock has been unused from the start. Remove it.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
This commit is contained in:
Philipp Zabel 2019-11-06 12:38:36 +01:00 committed by Mauro Carvalho Chehab
parent 7f404ae9cf
commit d52741728a
2 changed files with 0 additions and 3 deletions

View File

@ -2960,8 +2960,6 @@ static int coda_probe(struct platform_device *pdev)
else
return -EINVAL;
spin_lock_init(&dev->irqlock);
dev->dev = &pdev->dev;
dev->clk_per = devm_clk_get(&pdev->dev, "per");
if (IS_ERR(dev->clk_per)) {

View File

@ -86,7 +86,6 @@ struct coda_dev {
struct gen_pool *iram_pool;
struct coda_aux_buf iram;
spinlock_t irqlock;
struct mutex dev_mutex;
struct mutex coda_mutex;
struct workqueue_struct *workqueue;