diff options
author | Tudor-Dan Ambarus <tudor.ambarus@microchip.com> | 2017-10-23 18:34:41 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-11-03 22:11:24 +0800 |
commit | d472e42aafd6ab13a5981defb696874cc6bc26b3 (patch) | |
tree | 21a4eafac7823c496c37359fb1201665970417d7 /drivers/crypto/atmel-sha.c | |
parent | 3c88761e8a7bee9252c6ed1e2552eb0cfefa521d (diff) | |
download | linux-stable-d472e42aafd6ab13a5981defb696874cc6bc26b3.tar.gz linux-stable-d472e42aafd6ab13a5981defb696874cc6bc26b3.tar.bz2 linux-stable-d472e42aafd6ab13a5981defb696874cc6bc26b3.zip |
crypto: atmel - remove useless irq init
irq would be set to -1 and then unused, if we failed to get IORESOURCE_MEM.
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/atmel-sha.c')
-rw-r--r-- | drivers/crypto/atmel-sha.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/crypto/atmel-sha.c b/drivers/crypto/atmel-sha.c index 42c1f7479ab6..8874aa5ca0f7 100644 --- a/drivers/crypto/atmel-sha.c +++ b/drivers/crypto/atmel-sha.c @@ -2777,8 +2777,6 @@ static int atmel_sha_probe(struct platform_device *pdev) crypto_init_queue(&sha_dd->queue, ATMEL_SHA_QUEUE_LENGTH); - sha_dd->irq = -1; - /* Get the base address */ sha_res = platform_get_resource(pdev, IORESOURCE_MEM, 0); if (!sha_res) { |