From: Ovidiu Panait Date: Sun, 20 Oct 2024 19:25:31 +0000 (+0300) Subject: crypto: tegra - remove unneeded crypto_engine_stop() call X-Git-Tag: v6.13-rc1~196^2~25 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6ef46fec4171433fd9a3162b88ec2ce808676193;p=thirdparty%2Fkernel%2Flinux.git crypto: tegra - remove unneeded crypto_engine_stop() call The explicit crypto_engine_stop() call is not needed, as it is already called internally by crypto_engine_exit(). Signed-off-by: Ovidiu Panait Acked-by: Thierry Reding Signed-off-by: Herbert Xu --- diff --git a/drivers/crypto/tegra/tegra-se-main.c b/drivers/crypto/tegra/tegra-se-main.c index 8fa7cbe9372cd..918c0b10614d4 100644 --- a/drivers/crypto/tegra/tegra-se-main.c +++ b/drivers/crypto/tegra/tegra-se-main.c @@ -312,7 +312,6 @@ static int tegra_se_probe(struct platform_device *pdev) ret = tegra_se_host1x_register(se); if (ret) { - crypto_engine_stop(se->engine); crypto_engine_exit(se->engine); return dev_err_probe(dev, ret, "failed to init host1x params\n"); } @@ -324,7 +323,6 @@ static void tegra_se_remove(struct platform_device *pdev) { struct tegra_se *se = platform_get_drvdata(pdev); - crypto_engine_stop(se->engine); crypto_engine_exit(se->engine); host1x_client_unregister(&se->client); }