From: Antoine Tenart Date: Mon, 27 May 2019 14:50:54 +0000 (+0200) Subject: crypto: inside-secure - move comment X-Git-Tag: v5.4-rc1~258^2~93 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dd4306a6f398f49b60bd061d426e5e115234b8cc;p=platform%2Fkernel%2Flinux-rpi.git 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: Antoine Tenart Signed-off-by: Herbert Xu --- diff --git a/drivers/crypto/inside-secure/safexcel_hash.c b/drivers/crypto/inside-secure/safexcel_hash.c index ac9282c..a7cee9e 100644 --- a/drivers/crypto/inside-secure/safexcel_hash.c +++ b/drivers/crypto/inside-secure/safexcel_hash.c @@ -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. */ extra = queued & (crypto_ahash_blocksize(ahash) - 1); + + /* If this is not the last request and the queued data + * is a multiple of a block, cache the last one for now. + */ if (!extra) - /* If this is not the last request and the queued data - * is a multiple of a block, cache the last one for now. - */ extra = crypto_ahash_blocksize(ahash); if (extra) {