mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-23 04:04:26 +08: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