summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/omap-sham.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2018-03-01 21:50:11 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2018-03-09 15:45:46 +0100
commit17f5b19952ec9ea5e266d139a9f9360fd5b7c8ee (patch)
tree63f9ca2ceaab9d428b33e4e47f6eb11b709ed4a4 /drivers/crypto/omap-sham.c
parentcrypto: omap-sham - Remove useless check for non-null request (diff)
downloadlinux-17f5b19952ec9ea5e266d139a9f9360fd5b7c8ee.tar.xz
linux-17f5b19952ec9ea5e266d139a9f9360fd5b7c8ee.zip
crypto: omap-sham - Fix misleading indentation
Commit 8043bb1ae03c ("crypto: omap-sham - convert driver logic to use sgs for data xmit") removed the if() clause leaving the statement as is. The intention was in that case to finish the request always so the goto instruction seems sensible. Remove the indentation to fix Smatch warning: drivers/crypto/omap-sham.c:1761 omap_sham_done_task() warn: inconsistent indenting Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Acked-by: Tero Kristo <t-kristo@ti.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/omap-sham.c')
-rw-r--r--drivers/crypto/omap-sham.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/omap-sham.c b/drivers/crypto/omap-sham.c
index fd380a7da4eb..ad02aa63b519 100644
--- a/drivers/crypto/omap-sham.c
+++ b/drivers/crypto/omap-sham.c
@@ -1766,7 +1766,7 @@ static void omap_sham_done_task(unsigned long data)
if (test_and_clear_bit(FLAGS_OUTPUT_READY, &dd->flags)) {
/* hash or semi-hash ready */
clear_bit(FLAGS_DMA_READY, &dd->flags);
- goto finish;
+ goto finish;
}
}