diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2021-03-05 17:23:03 -0800 | 
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-03-05 17:23:03 -0800 | 
| commit | de5bd6c54b200aee3157d3eb1ff2808c18b43c09 (patch) | |
| tree | 9c5715dd142bd041d13d85b02b86963345e958ca /scripts/gcc-plugins/structleak_plugin.c | |
| parent | 8b24ef44789c990329a15a287ae0e634720745e8 (diff) | |
| parent | 5477edcacaacb8af8169450180a1d3bd0dfb9c99 (diff) | |
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'
Diffstat (limited to 'scripts/gcc-plugins/structleak_plugin.c')
| -rw-r--r-- | scripts/gcc-plugins/structleak_plugin.c | 3 | 
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/gcc-plugins/structleak_plugin.c b/scripts/gcc-plugins/structleak_plugin.c index 29b480c33a8d..d7190e443a14 100644 --- a/scripts/gcc-plugins/structleak_plugin.c +++ b/scripts/gcc-plugins/structleak_plugin.c @@ -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  | 
