summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorBruce Allan <bruce.w.allan@intel.com>2014-10-15 11:33:27 -0700
committerHerbert Xu <herbert@gondor.apana.org.au>2014-10-24 22:49:39 +0800
commit242b1598e6db92e11c2fe7ab7e724936167f0a6f (patch)
tree994e267ca7bb1ed4d6e25836bb6f8cc92239ade7 /drivers
parentfdb4c0ad3e6c35a51544bb7e5553c10433e50b85 (diff)
downloadtalos-obmc-linux-242b1598e6db92e11c2fe7ab7e724936167f0a6f.tar.gz
talos-obmc-linux-242b1598e6db92e11c2fe7ab7e724936167f0a6f.zip
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/crypto/qat/qat_common/qat_algs.c1
1 files changed, 0 insertions, 1 deletions
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))
OpenPOWER on IntegriCloud