[PATCH] crypto: atmel-sha: remove unneeded break

From: trix
Date: Mon Oct 19 2020 - 15:37:06 EST


From: Tom Rix <trix@xxxxxxxxxx>

A break is not needed if it is preceded by a return

Signed-off-by: Tom Rix <trix@xxxxxxxxxx>
---
drivers/crypto/atmel-sha.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/crypto/atmel-sha.c b/drivers/crypto/atmel-sha.c
index 75ccf41a7cb9..0eb6f54e3b66 100644
--- a/drivers/crypto/atmel-sha.c
+++ b/drivers/crypto/atmel-sha.c
@@ -459,7 +459,6 @@ static int atmel_sha_init(struct ahash_request *req)
break;
default:
return -EINVAL;
- break;
}

ctx->bufcnt = 0;
--
2.18.1