diff options
author | Jesse Brandeburg <jesse.brandeburg@intel.com> | 2017-04-28 16:53:15 -0700 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2017-05-31 02:56:13 -0700 |
commit | eb873fe4d31b92c455659bf2c54b203d5d46b9a1 (patch) | |
tree | 29bb50982a5cf4071912917c24ec6c53b590c222 | |
parent | ffe406457753a7ca2061ecc8c4d3971623066911 (diff) | |
download | linux-eb873fe4d31b92c455659bf2c54b203d5d46b9a1.tar.gz linux-eb873fe4d31b92c455659bf2c54b203d5d46b9a1.tar.bz2 linux-eb873fe4d31b92c455659bf2c54b203d5d46b9a1.zip |
i40evf: fix duplicate lines
This removes two duplicate lines that snuck into the code somehow.
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
-rw-r--r-- | drivers/net/ethernet/intel/i40evf/i40evf_virtchnl.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/intel/i40evf/i40evf_virtchnl.c b/drivers/net/ethernet/intel/i40evf/i40evf_virtchnl.c index deb2cb8dac6b..3cdac246d357 100644 --- a/drivers/net/ethernet/intel/i40evf/i40evf_virtchnl.c +++ b/drivers/net/ethernet/intel/i40evf/i40evf_virtchnl.c @@ -152,8 +152,6 @@ int i40evf_send_vf_config_msg(struct i40evf_adapter *adapter) { u32 caps; - adapter->current_op = I40E_VIRTCHNL_OP_GET_VF_RESOURCES; - adapter->aq_required &= ~I40EVF_FLAG_AQ_GET_CONFIG; caps = I40E_VIRTCHNL_VF_OFFLOAD_L2 | I40E_VIRTCHNL_VF_OFFLOAD_RSS_AQ | I40E_VIRTCHNL_VF_OFFLOAD_RSS_REG | |