Explorar o código

i40e: remove unnecessary delay

Ain't nothing gonna break my stride, nobody's gonna slow me down,
oh no. I got to keep on moving.

This was originally put in for debugging just-in-case purposes
and never removed.

Change-ID: Ic12c2e179c3923f54e6ba0a9e4ab05d25c3bab29
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com>
Signed-off-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Mitch Williams %!s(int64=11) %!d(string=hai) anos
pai
achega
81b8c0117d
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c

+ 0 - 1
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c

@@ -671,7 +671,6 @@ void i40e_reset_vf(struct i40e_vf *vf, bool flr)
 complete_reset:
 complete_reset:
 	/* reallocate vf resources to reset the VSI state */
 	/* reallocate vf resources to reset the VSI state */
 	i40e_free_vf_res(vf);
 	i40e_free_vf_res(vf);
-	mdelay(10);
 	i40e_alloc_vf_res(vf);
 	i40e_alloc_vf_res(vf);
 	i40e_enable_vf_mappings(vf);
 	i40e_enable_vf_mappings(vf);
 	set_bit(I40E_VF_STAT_ACTIVE, &vf->vf_states);
 	set_bit(I40E_VF_STAT_ACTIVE, &vf->vf_states);