projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cd9d18
)
crypto: stm32 - drop pointless static qualifier in stm32_hash_remove()
author
Mao Wenan
<maowenan@huawei.com>
Mon, 18 Feb 2019 14:49:00 +0000
(22:49 +0800)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Thu, 28 Feb 2019 06:17:58 +0000
(14:17 +0800)
There is no need to have the struct stm32_hash_dev *hdev static
since new value always be assigned before use it.
Signed-off-by: Mao Wenan <maowenan@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/stm32/stm32-hash.c
patch
|
blob
|
history
diff --git
a/drivers/crypto/stm32/stm32-hash.c
b/drivers/crypto/stm32/stm32-hash.c
index 590d7352837e50e0a37ee6f84af4a9cff2dcc6db..4a6cc8a3045d4608e8747185a8d82572741a8837 100644
(file)
--- a/
drivers/crypto/stm32/stm32-hash.c
+++ b/
drivers/crypto/stm32/stm32-hash.c
@@
-1564,7
+1564,7
@@
err_engine:
static int stm32_hash_remove(struct platform_device *pdev)
{
- st
atic st
ruct stm32_hash_dev *hdev;
+ struct stm32_hash_dev *hdev;
int ret;
hdev = platform_get_drvdata(pdev);