diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2019-11-06 14:38:36 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2019-11-09 11:10:42 +0300 |
commit | d52741728a518afe536d22dc6e9b60193c5fa942 (patch) | |
tree | 4c6b49d5d097733e3240ed464eddb2e8f9297320 /drivers/media | |
parent | 7f404ae9cf2a285f73b3c18ab9303d54b7a3d8e1 (diff) | |
download | linux-d52741728a518afe536d22dc6e9b60193c5fa942.tar.xz |
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>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/platform/coda/coda-common.c | 2 | ||||
-rw-r--r-- | drivers/media/platform/coda/coda.h | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/drivers/media/platform/coda/coda-common.c b/drivers/media/platform/coda/coda-common.c index 287dc1692286..5a38808c8695 100644 --- a/drivers/media/platform/coda/coda-common.c +++ b/drivers/media/platform/coda/coda-common.c @@ -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)) { diff --git a/drivers/media/platform/coda/coda.h b/drivers/media/platform/coda/coda.h index 848bf1da401e..9f226140b486 100644 --- a/drivers/media/platform/coda/coda.h +++ b/drivers/media/platform/coda/coda.h @@ -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; |