Re: [PATCH] gcc-plugins: structleak: remove unneeded variable 'ret'

From: Kees Cook
Date: Wed Mar 03 2021 - 05:53:45 EST


On Sat, 18 Apr 2020 15:05:05 +0800, Jason Yan wrote:
> Fix the following coccicheck warning:
>
> scripts/gcc-plugins/structleak_plugin.c:177:14-17: Unneeded variable:
> "ret". Return "0" on line 207

Applied to for-next/gcc-plugins, thanks!

[1/1] gcc-plugins: structleak: remove unneeded variable 'ret'
https://git.kernel.org/kees/c/b924a8197ac7

--
Kees Cook