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

crypto: atmel - drop pointless static qualifier in atmel_aes_probe()

There is no need to have the 'struct atmel_aes_dev *aes_dd' variable
static since new value always be assigned before use it.

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

authored by

Wei Yongjun and committed by
Herbert Xu
fc783341 2cc75154

+1 -1
+1 -1
drivers/crypto/atmel-aes.c
··· 2311 2311 2312 2312 static int atmel_aes_remove(struct platform_device *pdev) 2313 2313 { 2314 - static struct atmel_aes_dev *aes_dd; 2314 + struct atmel_aes_dev *aes_dd; 2315 2315 2316 2316 aes_dd = platform_get_drvdata(pdev); 2317 2317 if (!aes_dd)