]> git.karo-electronics.de Git - linux-beck.git/commitdiff
i40e: remove unnecessary delay
authorMitch Williams <mitch.a.williams@intel.com>
Fri, 21 Feb 2014 03:29:15 +0000 (19:29 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Feb 2014 17:38:26 +0000 (12:38 -0500)
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>
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c

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