> -----Original Message-----
> From: Stephen Hemminger <[email protected]>
> Sent: Monday, February 21, 2022 2:22 AM
> To: [email protected]
> Cc: Stephen Hemminger <[email protected]>; Bruce
> Richardson <[email protected]>; Vladimir Medvedkin
> <[email protected]>; Yipeng Wang <[email protected]>;
> Sameh Gobriel <[email protected]>; Anatoly Burakov
> <[email protected]>; Olivier Matz <[email protected]>;
> Andrew Rybchenko <[email protected]>; Honnappa
> Nagarahalli <[email protected]>; Konstantin Ananyev
> <[email protected]>
> 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 <[email protected]>
> ---
>  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 <[email protected]>

Reply via email to