]> git.droids-corp.org - dpdk.git/commit
remove unnecessary null checks
authorStephen Hemminger <stephen@networkplumber.org>
Sun, 20 Feb 2022 18:21:41 +0000 (10:21 -0800)
committerDavid Marchand <david.marchand@redhat.com>
Fri, 24 Jun 2022 12:51:09 +0000 (14:51 +0200)
commit64e14b8b072ae694ef35a3392639223ecf862820
treec9a44494b8d4fb3f81e8f5702296759abe995101
parent555e40752b4b7d4e86e1b244b3715d2504e82671
remove unnecessary null checks

Found by nullfree.cocci.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
[David: for lpm parts:]
Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
Acked-by: Vladimir Medvedkin <vladimir.medvedkin@intel.com>
[David: for vdpa/mlx5 parts:]
Acked-by: Matan Azrad <matan@nvidia.com>
[David: for dma/dpaa2, raw/ifpga, vdpa/mlx5:]
Acked-by: Tyler Retzlaff <roretzla@linux.microsoft.com>
Reviewed-by: Chengwen Feng <fengchengwen@huawei.com>
[David: reran cocci.sh and updated common/mlx5 and cryptodev asym test]
Signed-off-by: David Marchand <david.marchand@redhat.com>
17 files changed:
app/test/test_acl.c
app/test/test_cmdline_lib.c
app/test/test_cryptodev.c
app/test/test_cryptodev_asym.c
app/test/test_cryptodev_blockcipher.c
app/test/test_func_reentrancy.c
app/test/test_hash.c
drivers/common/mlx5/linux/mlx5_common_os.c
drivers/dma/dpaa2/dpaa2_qdma.c
drivers/event/sw/sw_evdev.c
drivers/raw/ifpga/ifpga_rawdev.c
drivers/vdpa/mlx5/mlx5_vdpa_virtq.c
examples/fips_validation/fips_dev_self_test.c
lib/pipeline/rte_swx_ctl.c
lib/pipeline/rte_swx_pipeline.c
lib/table/rte_swx_table_wm.c
lib/table/rte_table_acl.c