[PATCH] audit: remove unnecessary 'ret' initialization

Paul Moore paul at paul-moore.com
Fri Jun 11 17:23:03 UTC 2021


On Thu, Jun 10, 2021 at 10:30 PM Austin Kim <austindh.kim at gmail.com> wrote:
>
> From: Austin Kim <austin.kim at lge.com>
>
> The variable 'ret' is set to 0 when declared.
> The 'ret' is unused until it is set to 0 again.
>
> So it had better remove unnecessary initialization.
>
> Signed-off-by: Austin Kim <austin.kim at lge.com>
> ---
>  security/lsm_audit.c | 1 -
>  1 file changed, 1 deletion(-)

Merged into audit/next, thanks.

-- 
paul moore
www.paul-moore.com



More information about the Linux-security-module-archive mailing list