crypto: glue_helper - Delete some dead code
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 10 May 2017 05:52:26 +0000 (08:52 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 19 Jun 2017 06:11:54 +0000 (14:11 +0800)
commit8270f5d799c946d7636ef317eff990830d2fe89f
tree7ecec5723ce728de081a1b3e07e2c6e828385ee5
parentfa598d0a7026219461a1ad76e27117ce325fa0e4
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 <dan.carpenter@oracle.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/x86/crypto/glue_helper.c