mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 04:33:26 +02:00
Merge tag 'gcc-plugins-v5.12-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux
Pull gcc-plugins fixes from Kees Cook: "Tiny gcc-plugin fixes for v5.12-rc2. These issues are small but have been reported a couple times now by static analyzers, so best to get them fixed to reduce the noise. :) - Fix coding style issues (Jason Yan)" * tag 'gcc-plugins-v5.12-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux: gcc-plugins: latent_entropy: remove unneeded semicolon gcc-plugins: structleak: remove unneeded variable 'ret'
This commit is contained in:
@@ -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);
|
||||
|
@@ -170,7 +170,6 @@ static void initialize(tree var)
|
||||
static unsigned int structleak_execute(void)
|
||||
{
|
||||
basic_block bb;
|
||||
unsigned int ret = 0;
|
||||
tree var;
|
||||
unsigned int i;
|
||||
|
||||
@@ -200,7 +199,7 @@ static unsigned int structleak_execute(void)
|
||||
initialize(var);
|
||||
}
|
||||
|
||||
return ret;
|
||||
return 0;
|
||||
}
|
||||
|
||||
#define PASS_NAME structleak
|
||||
|
Reference in New Issue
Block a user