summaryrefslogtreecommitdiffstats
path: root/drivers/crypto
diff options
context:
space:
mode:
authorAntoine Tenart <antoine.tenart@bootlin.com>2019-05-27 16:50:55 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2019-06-06 14:38:55 +0800
commit0733eabadc90f148dd96e1d41c8a644312a6ab18 (patch)
treee99f35df93a440d97c0e72c74a6b07f004e577d4 /drivers/crypto
parentdd4306a6f398f49b60bd061d426e5e115234b8cc (diff)
downloadlinux-0733eabadc90f148dd96e1d41c8a644312a6ab18.tar.gz
linux-0733eabadc90f148dd96e1d41c8a644312a6ab18.tar.bz2
linux-0733eabadc90f148dd96e1d41c8a644312a6ab18.zip
crypto: inside-secure - fix coding style for a condition
This cosmetic patch fixes a cosmetic issue with if brackets. Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto')
-rw-r--r--drivers/crypto/inside-secure/safexcel.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/crypto/inside-secure/safexcel.c b/drivers/crypto/inside-secure/safexcel.c
index 86c699c14f84..263bd4ce73c5 100644
--- a/drivers/crypto/inside-secure/safexcel.c
+++ b/drivers/crypto/inside-secure/safexcel.c
@@ -720,11 +720,10 @@ handle_results:
}
acknowledge:
- if (i) {
+ if (i)
writel(EIP197_xDR_PROC_xD_PKT(i) |
EIP197_xDR_PROC_xD_COUNT(tot_descs * priv->config.rd_offset),
EIP197_HIA_RDR(priv, ring) + EIP197_HIA_xDR_PROC_COUNT);
- }
/* If the number of requests overflowed the counter, try to proceed more
* requests.