Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/i40e: remove redundant judgment in flow parsing
[ upstream commit e930f8622e05e410a475c6b57dd7edd73b2e1705 ] if (eth_spec && eth_mask && next_type == RTE_FLOW_ITEM_TYPE_END) { ... if (next_type == RTE_FLOW_ITEM_TYPE_VLAN || ...) { ... } ... } Clearly, that condition in the inner "if" is always "false". This commit will remove the redundant judgment. Fixes: 7d83c15 ("net/i40e: parse flow director filter") Signed-off-by: Kaiwen Deng <kaiwenx.deng@intel.com> Acked-by: Qi Zhang <qi.z.zhang@intel.com>
- Loading branch information