Re: [PATCH] audit: Remove redundant null check

From: Paul Moore
Date: Wed Aug 26 2020 - 09:29:31 EST


On Wed, Aug 26, 2020 at 12:00 AM Xu Wang <vulab@xxxxxxxxxxx> wrote:
>
> Because kfree_skb already checked NULL skb parameter,
> so the additional check is unnecessary, just remove it.
>
> Signed-off-by: Xu Wang <vulab@xxxxxxxxxxx>
> ---
> kernel/audit.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)

Merged into audit/next, thanks.

--
paul moore
www.paul-moore.com