Re: [PATCH] audit: remove unnecessary 'ret' initialization

From: Paul Moore
Date: Fri Jun 11 2021 - 13:24:30 EST


On Thu, Jun 10, 2021 at 10:30 PM Austin Kim <austindh.kim@xxxxxxxxx> wrote:
>
> From: Austin Kim <austin.kim@xxxxxxx>
>
> 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@xxxxxxx>
> ---
> security/lsm_audit.c | 1 -
> 1 file changed, 1 deletion(-)

Merged into audit/next, thanks.

--
paul moore
www.paul-moore.com