[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHC9VhQvq0uimX+S+M-NJfz=W-1-G1QY96d79od=1X6UYYKUKA@mail.gmail.com>
Date: Fri, 11 Jun 2021 13:23:03 -0400
From: Paul Moore <paul@...l-moore.com>
To: Austin Kim <austindh.kim@...il.com>
Cc: James Morris <jmorris@...ei.org>, Serge Hallyn <serge@...lyn.com>,
linux-security-module@...r.kernel.org,
linux-kernel@...r.kernel.org, austin.kim@....com
Subject: Re: [PATCH] audit: remove unnecessary 'ret' initialization
On Thu, Jun 10, 2021 at 10:30 PM Austin Kim <austindh.kim@...il.com> wrote:
>
> From: Austin Kim <austin.kim@....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@....com>
> ---
> security/lsm_audit.c | 1 -
> 1 file changed, 1 deletion(-)
Merged into audit/next, thanks.
--
paul moore
www.paul-moore.com
Powered by blists - more mailing lists