Commit c29da970 authored by Milan Djurovic's avatar Milan Djurovic Committed by Herbert Xu

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: default avatarMilan Djurovic <mdjurovic@zohomail.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 5377265f
...@@ -114,9 +114,9 @@ static void crypto_kw_scatterlist_ff(struct scatter_walk *walk, ...@@ -114,9 +114,9 @@ static void crypto_kw_scatterlist_ff(struct scatter_walk *walk,
scatterwalk_start(walk, sg); scatterwalk_start(walk, sg);
scatterwalk_advance(walk, skip); scatterwalk_advance(walk, skip);
break; break;
} else }
skip -= sg->length;
skip -= sg->length;
sg = sg_next(sg); sg = sg_next(sg);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment