mirror of https://gitee.com/openkylin/linux.git
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:
parent
7f404ae9cf
commit
d52741728a
|
@ -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)) {
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue