From: Bruce Allan Date: Wed, 15 Oct 2014 18:33:27 +0000 (-0700) Subject: crypto: qat - cleanup unnecessary break checkpatch warning X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=242b1598e6db92e11c2fe7ab7e724936167f0a6f;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Herbert Xu --- diff --git a/drivers/crypto/qat/qat_common/qat_algs.c b/drivers/crypto/qat/qat_common/qat_algs.c index f2e2f158cfbe..25a409ca2d2a 100644 --- a/drivers/crypto/qat/qat_common/qat_algs.c +++ b/drivers/crypto/qat/qat_common/qat_algs.c @@ -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))