Skip to content

Commit 7a72e84

Browse files
committed
crypto: tegra - remove redundant error check on ret
jira LE-4159 Rebuild_History Non-Buildable kernel-5.14.0-570.41.1.el9_6 commit-author Colin Ian King <colin.i.king@gmail.com> commit 7b90df7 Currently there is an unnecessary error check on ret without a proceeding assignment to ret that needs checking. The check is redundant and can be removed. Signed-off-by: Colin Ian King <colin.i.king@gmail.com> Acked-by: Akhil R <akhilrajeev@nvidia.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> (cherry picked from commit 7b90df7) Signed-off-by: Jonathan Maple <jmaple@ciq.com>
1 parent 1a168d8 commit 7a72e84

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1180,8 +1180,6 @@ static int tegra_ccm_do_one_req(struct crypto_engine *engine, void *areq)
11801180
goto out;
11811181
} else {
11821182
rctx->cryptlen = req->cryptlen - ctx->authsize;
1183-
if (ret)
1184-
goto out;
11851183

11861184
/* CTR operation */
11871185
ret = tegra_ccm_do_ctr(ctx, rctx);

0 commit comments

Comments
 (0)