net/iavf: remove dead code in Rx function selection
authorWenzhuo Lu <wenzhuo.lu@intel.com>
Mon, 10 May 2021 01:32:51 +0000 (09:32 +0800)
committerQi Zhang <qi.z.zhang@intel.com>
Mon, 10 May 2021 02:58:55 +0000 (04:58 +0200)
commit1821cf8b266216008e613e677c3febdec8a693d9
treefecb9c6e537c5816f3a389dbbcc17d847bfd6fad
parent664b8eb745b9b6249231cea2f2bc6ff4d4b6bc40
net/iavf: remove dead code in Rx function selection

Execution cannot reach the expression "use_avx2"
inside this statement: "if (!use_sse && !use_avx2 &..."."

The check is useless.

Coverity issue: 370606
Fixes: bb3ef9aaa478 ("net/iavf: fix Rx function selection")

Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/iavf/iavf_rxtx.c