i40evf: fix duplicate lines
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Fri, 28 Apr 2017 23:53:15 +0000 (16:53 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 31 May 2017 09:56:13 +0000 (02:56 -0700)
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>
drivers/net/ethernet/intel/i40evf/i40evf_virtchnl.c

index deb2cb8..3cdac24 100644 (file)
@@ -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 |