diff options
author | Milan Djurovic <mdjurovic@zohomail.com> | 2021-03-26 11:13:59 -0700 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-04-02 18:28:13 +1100 |
commit | 530e0af2c4af7700a3638fe69d1b13706cd56219 (patch) | |
tree | aad1c5efadd91a2bfda330e4ed261fc9a43228ca /crypto | |
parent | bf1e9b3dff85a0433aaea6755c3f8036840dacfb (diff) | |
download | linux-crypto-530e0af2c4af7700a3638fe69d1b13706cd56219.tar.gz linux-crypto-530e0af2c4af7700a3638fe69d1b13706cd56219.zip |
crypto: keywrap - Remove else after break statement
Remove the else because the if statement has a break statement. Fix the
checkpatch.pl warning.
Signed-off-by: Milan Djurovic <mdjurovic@zohomail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/keywrap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/keywrap.c b/crypto/keywrap.c index 3517773b..054d9a21 100644 --- a/crypto/keywrap.c +++ b/crypto/keywrap.c @@ -114,9 +114,9 @@ static void crypto_kw_scatterlist_ff(struct scatter_walk *walk, scatterwalk_start(walk, sg); scatterwalk_advance(walk, skip); break; - } else - skip -= sg->length; + } + skip -= sg->length; sg = sg_next(sg); } } |