[PATCH] audit: Remove redundant null check

Paul Moore paul at paul-moore.com
Wed Aug 26 13:29:11 UTC 2020


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

Merged into audit/next, thanks.

-- 
paul moore
www.paul-moore.com




More information about the Linux-audit mailing list