提交 c29da970 编写于 作者: M Milan Djurovic 提交者: 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: NMilan Djurovic <mdjurovic@zohomail.com>
Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册