net/i40e: remove redundant VSI check in Tx queue setup
authorChengwen Feng <fengchengwen@huawei.com>
Wed, 21 Apr 2021 02:33:14 +0000 (10:33 +0800)
committerQi Zhang <qi.z.zhang@intel.com>
Fri, 23 Apr 2021 08:59:40 +0000 (10:59 +0200)
commit70077b8630011e3cd5d7a2fa9af6ea6e73e46a4d
treecc603b14112cd5e2b21ecc83fe8b7619f41cc61a
parent47b6667abe533e8c61576aa4803f41daf988eb9b
net/i40e: remove redundant VSI check in Tx queue setup

The VSI pointer is always valid, so there is no need to judge its
validity.

Fixes: b6583ee40265 ("i40e: full VMDQ pools support")
Cc: stable@dpdk.org
Signed-off-by: Chengwen Feng <fengchengwen@huawei.com>
Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/i40e/i40e_rxtx.c