crypto: glue_helper - Delete some dead code
Subsystems (3)
PATCH 1/1 crypto: glue_helper - Delete some dead code
We checked (nbytes < bsize) inside the loops so it's not possible to hit the "goto done;" here. This code is cut and paste from other slightly different loops where we don't have the check inside the loop.
Signed-off-by Dan Carpenter <[email protected]>
arch/x86/crypto/glue_helper.c +0 -3
@@ -176,9 +176,6 @@ __glue_cbc_decrypt_128bit(const struct common_glue_ctx *gctx, src -=1 ; dst -=1 ; }while (nbytes >= func_bytes); - -if (nbytes < bsize) - goto done; } }
Herbert Xu
maintainerQuoted 5 lines · Dan Carpenter
We checked (nbytes < bsize) inside the loops so it's not possible to hit the "goto done;" here. This code is cut and paste from other slightly different loops where we don't have the check inside the loop.
Signed-off-by Dan Carpenter <[email protected]>
Patch applied. Thanks.
Signature · 3 lines
Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt