gcc-plugins: latent_entropy: remove unneeded semicolon
authorJason Yan <yanaijie@huawei.com>
Sat, 18 Apr 2020 07:05:21 +0000 (15:05 +0800)
committerKees Cook <keescook@chromium.org>
Tue, 2 Mar 2021 03:19:50 +0000 (19:19 -0800)
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
scripts/gcc-plugins/latent_entropy_plugin.c

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