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:
Mao Wenan 2019-02-18 22:49:00 +08:00 committed by Herbert Xu
parent 8cd9d18373
commit d9a5289d29
1 changed files with 1 additions and 1 deletions

View File

@ -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);