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: Bruce Allan <bruce.w.allan@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
fdb4c0ad3e
commit
242b1598e6
|
@ -466,7 +466,6 @@ static int qat_alg_init_sessions(struct qat_alg_session_ctx *ctx,
|
|||
break;
|
||||
default:
|
||||
goto bad_key;
|
||||
break;
|
||||
}
|
||||
|
||||
if (qat_alg_init_enc_session(ctx, alg, &keys))
|
||||
|
|
Loading…
Reference in New Issue