Message ID | CACA-NJvmTCkBP1fTuLb71BVeXubuwKj9Gu1ZcgCMXgt9w2-N9A@mail.gmail.com (mailing list archive) |
---|---|
State | Changes Requested |
Delegated to: | Herbert Xu |
Headers | show |
diff --git a/drivers/crypto/sahara.c b/drivers/crypto/sahara.c index 9538c52..b35cbda 100644 --- a/drivers/crypto/sahara.c +++ b/drivers/crypto/sahara.c @@ -202,7 +202,6 @@ struct sahara_dev { struct completion dma_completion; struct sahara_ctx *ctx; - spinlock_t lock; struct crypto_queue queue; unsigned long flags; @@ -1487,7 +1486,6 @@ static int sahara_probe(struct platform_device *pdev) crypto_init_queue(&dev->queue, SAHARA_QUEUE_LENGTH); - spin_lock_init(&dev->lock); mutex_init(&dev->queue_mutex); dev_ptr = dev;
Hi, The Freescale sahara driver has previously used a spinlock. This spinlock has been removed, but the spinlock variable is still there and is also being initialized. This patch removes the leftover. Thanks, Mogens Lauridsen Signed-off-by: Mogens Lauridsen <mlauridsen171@gmail.com>