mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-12-29 09:16:33 +00:00
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>
This commit is contained in:
parent
5377265f54
commit
c29da9700f
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user