gcc-plugins: latent_entropy: remove unneeded semicolon

Fix the following coccicheck warning:

scripts/gcc-plugins/latent_entropy_plugin.c:539:2-3: Unneeded semicolon

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20200418070521.10931-1-yanaijie@huawei.com
This commit is contained in:
Jason Yan 2020-04-18 15:05:21 +08:00 committed by Kees Cook
parent b924a8197a
commit 5477edcaca
1 changed files with 1 additions and 1 deletions

View File

@ -524,7 +524,7 @@ static unsigned int latent_entropy_execute(void)
while (bb != EXIT_BLOCK_PTR_FOR_FN(cfun)) { while (bb != EXIT_BLOCK_PTR_FOR_FN(cfun)) {
perturb_local_entropy(bb, local_entropy); perturb_local_entropy(bb, local_entropy);
bb = bb->next_bb; bb = bb->next_bb;
}; }
/* 4. mix local entropy into the global entropy variable */ /* 4. mix local entropy into the global entropy variable */
perturb_latent_entropy(local_entropy); perturb_latent_entropy(local_entropy);