Commit d9a5289d authored by Mao Wenan's avatar Mao Wenan Committed by Herbert Xu
Browse files

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: default avatarMao Wenan <maowenan@huawei.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 8cd9d183
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);