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 <[email protected]> Signed-off-by: Jason Yan <[email protected]> Signed-off-by: Kees Cook <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent b924a81 commit 5477edc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)