Commit d5274172 authored by Philipp Zabel's avatar Philipp Zabel Committed by Mauro Carvalho Chehab

media: coda: drop unused irqlock

The irqlock spinlock has been unused from the start. Remove it.
Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@kernel.org>
parent 7f404ae9
...@@ -2960,8 +2960,6 @@ static int coda_probe(struct platform_device *pdev) ...@@ -2960,8 +2960,6 @@ static int coda_probe(struct platform_device *pdev)
else else
return -EINVAL; return -EINVAL;
spin_lock_init(&dev->irqlock);
dev->dev = &pdev->dev; dev->dev = &pdev->dev;
dev->clk_per = devm_clk_get(&pdev->dev, "per"); dev->clk_per = devm_clk_get(&pdev->dev, "per");
if (IS_ERR(dev->clk_per)) { if (IS_ERR(dev->clk_per)) {
......
...@@ -86,7 +86,6 @@ struct coda_dev { ...@@ -86,7 +86,6 @@ struct coda_dev {
struct gen_pool *iram_pool; struct gen_pool *iram_pool;
struct coda_aux_buf iram; struct coda_aux_buf iram;
spinlock_t irqlock;
struct mutex dev_mutex; struct mutex dev_mutex;
struct mutex coda_mutex; struct mutex coda_mutex;
struct workqueue_struct *workqueue; struct workqueue_struct *workqueue;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment