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>
        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)) {
 
        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;