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 <maowenan@huawei.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
8cd9d18373
commit
d9a5289d29
|
@ -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 New Issue