Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

crypto: sahara - Remove leftover from previous used spinlock

This driver previously used a spinlock. The spinlock is not
used any more, but the spinlock variable was still there
and also being initialized.

Signed-off-by: Mogens Lauridsen <mlauridsen171@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

authored by

Mogens Lauridsen and committed by
Herbert Xu
67adc432 1e320410

-2
-2
drivers/crypto/sahara.c
··· 202 202 struct completion dma_completion; 203 203 204 204 struct sahara_ctx *ctx; 205 - spinlock_t lock; 206 205 struct crypto_queue queue; 207 206 unsigned long flags; 208 207 ··· 1486 1487 1487 1488 crypto_init_queue(&dev->queue, SAHARA_QUEUE_LENGTH); 1488 1489 1489 - spin_lock_init(&dev->lock); 1490 1490 mutex_init(&dev->queue_mutex); 1491 1491 1492 1492 dev_ptr = dev;