[PATCH 1/2] test/hash: fix coverity warning
Ruifeng Wang
Ruifeng.Wang at arm.com
Wed Nov 9 09:55:56 CET 2022
> -----Original Message-----
> From: Vladimir Medvedkin <vladimir.medvedkin at intel.com>
> Sent: Friday, November 4, 2022 2:13 AM
> To: dev at dpdk.org
> Cc: Dharmik Thakkar <Dharmik.Thakkar at arm.com>; stable at dpdk.org; Yipeng Wang
> <yipeng1.wang at intel.com>; Sameh Gobriel <sameh.gobriel at intel.com>; Bruce Richardson
> <bruce.richardson at intel.com>
> Subject: [PATCH 1/2] test/hash: fix coverity warning
>
> Remove unnecessary variable assignment
>
> Coverity issue: 336800
> Fixes: 3f9aab961ed3 ("test/hash: check lock-free extendable bucket")
> Cc: dharmik.thakkar at arm.com
> Cc: stable at dpdk.org
>
> Signed-off-by: Vladimir Medvedkin <vladimir.medvedkin at intel.com>
> ---
> app/test/test_hash_readwrite_lf_perf.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/app/test/test_hash_readwrite_lf_perf.c
> b/app/test/test_hash_readwrite_lf_perf.c
> index 32f9ec9250..cf86046a2f 100644
> --- a/app/test/test_hash_readwrite_lf_perf.c
> +++ b/app/test/test_hash_readwrite_lf_perf.c
> @@ -1102,7 +1102,6 @@ test_hash_multi_add_lookup(struct rwc_perf *rwc_perf_results, int
> rwc_lf,
> rte_eal_remote_launch(test_rwc_reader,
> (void *)(uintptr_t)read_type,
> enabled_core_ids[i]);
> - write_type = WRITE_KEY_SHIFT;
> pos_core = 0;
>
> /* Launch writers */
> --
> 2.25.1
Reviewed-by: Ruifeng Wang <ruifeng.wang at arm.com>
More information about the stable
mailing list