Commit dd4306a6 authored by Antoine Tenart's avatar Antoine Tenart Committed by Herbert Xu

crypto: inside-secure - move comment

This cosmetic patch moves a comment before the condition it is related
to. The patch does not change the driver behaviour in any way.
Signed-off-by: default avatarAntoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent cb9877b8
...@@ -223,10 +223,11 @@ static int safexcel_ahash_send_req(struct crypto_async_request *async, int ring, ...@@ -223,10 +223,11 @@ static int safexcel_ahash_send_req(struct crypto_async_request *async, int ring,
* fit into full blocks, cache it for the next send() call. * fit into full blocks, cache it for the next send() call.
*/ */
extra = queued & (crypto_ahash_blocksize(ahash) - 1); extra = queued & (crypto_ahash_blocksize(ahash) - 1);
if (!extra)
/* If this is not the last request and the queued data /* If this is not the last request and the queued data
* is a multiple of a block, cache the last one for now. * is a multiple of a block, cache the last one for now.
*/ */
if (!extra)
extra = crypto_ahash_blocksize(ahash); extra = crypto_ahash_blocksize(ahash);
if (extra) { if (extra) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment