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:
Mao Wenan 2019-02-18 22:49:00 +08:00 • committed by Herbert Xu
commit d9a5289d29

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