[PATCH 0/3] unnecessary checks for null

Stephen Hemminger stephen at networkplumber.org
Wed Nov 13 05:56:49 CET 2024


On Wed, 13 Nov 2024 01:25:37 +0000
Ferruh Yigit <ferruh.yigit at amd.com> wrote:

> On 11/12/2024 5:38 PM, Stephen Hemminger wrote:
> > Found by running nullfree.cocci on 24.11-rc2
> > 
> > Stephen Hemminger (3):
> >   bus/fslmc: remove unnecessary null check
> >   net/dpaa2: remove unnecessary check for null before rte_free
> >   net/ntnic: remove unnecessary check for null before free
> >  
> 
> For series,
> Acked-by: Ferruh Yigit <ferruh.yigit at amd.com>
> 
> Btw, script catches 'rte_openssl_pmd.c' for 'EVP_PKEY_free()' call,
> which seems ignoring the NULL value, it can be separate patch for crypto
> tree.

Right I wanted to check that one more carefully.


More information about the dev mailing list