diff options
author | Tom Rix <trix@redhat.com> | 2020-10-19 12:36:53 -0700 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-11-06 14:29:10 +1100 |
commit | 77fdd94f091f88b045e4f45ea94cac463cbd3221 (patch) | |
tree | 6b8c0a5f2f41ff016d26c5d08f490bfc39b568e9 /drivers/crypto/atmel-sha.c | |
parent | 18d05ca4486fe38991c3166b1f4df26b8a029665 (diff) | |
download | linux-77fdd94f091f88b045e4f45ea94cac463cbd3221.tar.gz linux-77fdd94f091f88b045e4f45ea94cac463cbd3221.tar.bz2 linux-77fdd94f091f88b045e4f45ea94cac463cbd3221.zip |
crypto: atmel-sha - remove unneeded break
A break is not needed if it is preceded by a return
Signed-off-by: Tom Rix <trix@redhat.com>
Reviewed-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/atmel-sha.c')
-rw-r--r-- | drivers/crypto/atmel-sha.c | 1 |
1 files changed, 0 insertions, 1 deletions
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; |