mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
crypto: stm32 - drop pointless static qualifier in stm32_hash_remove()
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 <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
This commit is contained in:
parent
8cd9d18373
commit
d9a5289d29
1 changed files with 1 additions and 1 deletions
|
|
@ -1564,7 +1564,7 @@ err_engine:
|
|||
|
||||
static int stm32_hash_remove(struct platform_device *pdev)
|
||||
{
|
||||
static struct stm32_hash_dev *hdev;
|
||||
struct stm32_hash_dev *hdev;
|
||||
int ret;
|
||||
|
||||
hdev = platform_get_drvdata(pdev);
|
||||
|
|
|
|||
Loading…
Reference in a new issue