]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: remove logically dead code
authorLihong Yang <lihong.yang@intel.com>
Thu, 27 Jul 2017 10:17:09 +0000 (03:17 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 2 Oct 2017 19:46:35 +0000 (12:46 -0700)
commit84366ea185a4f89c58ddb8aa2924388be61619c5
tree946236c7d675937d87e451b4f3085f822f04447a
parent4105e9fe478a05f4d7b114b997498092cafeb0b8
i40e: remove logically dead code

This patch removes the !vf condition check that cannot be
true in i40e_ndo_set_vf_trust function

Detected by CoverityScan, CID 1397531 Logically dead code

Signed-off-by: Lihong Yang <lihong.yang@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c