[PATCH v3 3/8] lpm: remove unnecessary NULL checks
Ruifeng Wang
Ruifeng.Wang at arm.com
Mon Feb 21 03:47:00 CET 2022
> -----Original Message-----
> From: Stephen Hemminger <stephen at networkplumber.org>
> Sent: Monday, February 21, 2022 2:22 AM
> To: dev at dpdk.org
> Cc: Stephen Hemminger <stephen at networkplumber.org>; Bruce
> Richardson <bruce.richardson at intel.com>; Vladimir Medvedkin
> <vladimir.medvedkin at intel.com>; Yipeng Wang <yipeng1.wang at intel.com>;
> Sameh Gobriel <sameh.gobriel at intel.com>; Anatoly Burakov
> <anatoly.burakov at intel.com>; Olivier Matz <olivier.matz at 6wind.com>;
> Andrew Rybchenko <andrew.rybchenko at oktetlabs.ru>; Honnappa
> Nagarahalli <Honnappa.Nagarahalli at arm.com>; Konstantin Ananyev
> <konstantin.ananyev at intel.com>
> Subject: [PATCH v3 3/8] lpm: remove unnecessary NULL checks
>
> The functions rte_lpm_free() and rte_lpm6_free() already handle NULL
> pointer case.
>
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
> ---
> app/test/test_func_reentrancy.c | 3 +--
> lib/lpm/rte_lpm.h | 1 +
> lib/lpm/rte_lpm6.h | 1 +
> 3 files changed, 3 insertions(+), 2 deletions(-)
>
Reviewed-by: Ruifeng Wang <ruifeng.wang at arm.com>
More information about the dev
mailing list