ixgbe: remove unneeded ipsec test in TX path
authorShannon Nelson <shannon.nelson@oracle.com>
Fri, 16 Mar 2018 18:09:05 +0000 (11:09 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 23 Mar 2018 21:51:57 +0000 (14:51 -0700)
commit871dd09bdb02957e259ff672876b04891f356d10
tree0a5037b4810f4dfd45c6ebf3dfbc330d33d7d1ec
parent2137aec017fa1fd3ddbd3b01f59e506abef2fef0
ixgbe: remove unneeded ipsec test in TX path

Since the ipsec data fields will be zero anyway in the non-ipsec
case, we can remove the conditional jump.

Suggested-by: Alexander Duyck <alexander.duyck@gmail.com>
Signed-off-by: Shannon Nelson <shannon.nelson@oracle.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c