aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/igc/igc_main.c
diff options
context:
space:
mode:
authorRustam Subkhankulov <subkhankulov@ispras.ru>2022-07-11 12:33:03 +0300
committerSaeed Mahameed <saeedm@nvidia.com>2022-07-13 15:56:48 -0700
commitbbf0b4234bdca3ad06264e2edc07c862a6bee036 (patch)
tree0e3dbe4222233276d1cfa62f30c6e4238e99cd73 /drivers/net/ethernet/intel/igc/igc_main.c
parent9c0ca9baaa048125e28b022d2145edef20e38b19 (diff)
net/mlx5e: Removed useless code in function
Comparison of eth_ft->ft with NULL is useless, because get_flow_table() returns either pointer 'eth_ft' such that eth_ft->ft != NULL, or an erroneous value that is handled on return, causing mlx5e_ethtool_flow_replace() to terminate before checking whether eth_ft->ft equals NULL. Found by Linux Verification Center (linuxtesting.org) with SVACE. Signed-off-by: Rustam Subkhankulov <subkhankulov@ispras.ru> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions