diff options
author | Milan Djurovic <mdjurovic@zohomail.com> | 2021-03-26 21:13:59 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-04-02 10:28:13 +0300 |
commit | c29da9700f8ce19175a37e6a79dbd49f98625bfd (patch) | |
tree | cf2708b944d4187fc702a97092bd1632f57829b3 /crypto | |
parent | 5377265f54dedc01db1eb4325f65c7a6a4035ec0 (diff) | |
download | linux-c29da9700f8ce19175a37e6a79dbd49f98625bfd.tar.xz |
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 3517773bc7f7..054d9a216fc9 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); } } |