Commit 242b1598 authored by Bruce Allan's avatar Bruce Allan Committed by Herbert Xu

crypto: qat - cleanup unnecessary break checkpatch warning

WARNING:UNNECESSARY_BREAK: break is not useful after a goto or return
#472: FILE: drivers/crypto/qat/qat_common/qat_algs.c:472:
+               goto bad_key;
+               break;
Signed-off-by: default avatarBruce Allan <bruce.w.allan@intel.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent fdb4c0ad
...@@ -466,7 +466,6 @@ static int qat_alg_init_sessions(struct qat_alg_session_ctx *ctx, ...@@ -466,7 +466,6 @@ static int qat_alg_init_sessions(struct qat_alg_session_ctx *ctx,
break; break;
default: default:
goto bad_key; goto bad_key;
break;
} }
if (qat_alg_init_enc_session(ctx, alg, &keys)) if (qat_alg_init_enc_session(ctx, alg, &keys))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment