Skip to content

Commit

Permalink
media: coda: drop unused irqlock
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Philipp Zabel authored and Mauro Carvalho Chehab committed Nov 9, 2019
1 parent 7f404ae commit d527417
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions drivers/media/platform/coda/coda-common.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down
1 change: 0 additions & 1 deletion drivers/media/platform/coda/coda.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d527417

Please sign in to comment.