Skip to content

Commit 5477edc

Browse files
JasonYanHwkees
authored andcommitted
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
1 parent b924a81 commit 5477edc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/gcc-plugins/latent_entropy_plugin.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ static unsigned int latent_entropy_execute(void)
524524
while (bb != EXIT_BLOCK_PTR_FOR_FN(cfun)) {
525525
perturb_local_entropy(bb, local_entropy);
526526
bb = bb->next_bb;
527-
};
527+
}
528528

529529
/* 4. mix local entropy into the global entropy variable */
530530
perturb_latent_entropy(local_entropy);

0 commit comments

Comments
 (0)