Skip to content
Snippets Groups Projects
Commit c29da970 authored by Milan Djurovic's avatar Milan Djurovic Committed by Herbert Xu
Browse files

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
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment