projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2cc7515
)
crypto: atmel - drop pointless static qualifier in atmel_aes_probe()
author
Wei Yongjun
<weiyongjun1@huawei.com>
Mon, 24 Oct 2016 14:51:22 +0000
(14:51 +0000)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Tue, 1 Nov 2016 00:37:11 +0000
(08:37 +0800)
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>
drivers/crypto/atmel-aes.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/crypto/atmel-aes.c
b/drivers/crypto/atmel-aes.c
index 6b656f4a93783903be37ccdde470ea4c65ea1346..0e3d0d655b9679a113d7934f6566532968a15522 100644
(file)
--- a/
drivers/crypto/atmel-aes.c
+++ b/
drivers/crypto/atmel-aes.c
@@
-2311,7
+2311,7
@@
aes_dd_err:
static int atmel_aes_remove(struct platform_device *pdev)
{
- st
atic st
ruct atmel_aes_dev *aes_dd;
+ struct atmel_aes_dev *aes_dd;
aes_dd = platform_get_drvdata(pdev);
if (!aes_dd)