Skip to content

Commit 6ef46fe

Browse files
ovpanaitherbertx
authored andcommitted
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 <[email protected]> Acked-by: Thierry Reding <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
1 parent 4964a1d commit 6ef46fe

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/crypto/tegra/tegra-se-main.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,6 @@ static int tegra_se_probe(struct platform_device *pdev)
312312

313313
ret = tegra_se_host1x_register(se);
314314
if (ret) {
315-
crypto_engine_stop(se->engine);
316315
crypto_engine_exit(se->engine);
317316
return dev_err_probe(dev, ret, "failed to init host1x params\n");
318317
}
@@ -324,7 +323,6 @@ static void tegra_se_remove(struct platform_device *pdev)
324323
{
325324
struct tegra_se *se = platform_get_drvdata(pdev);
326325

327-
crypto_engine_stop(se->engine);
328326
crypto_engine_exit(se->engine);
329327
host1x_client_unregister(&se->client);
330328
}

0 commit comments

Comments
 (0)