i40e: removed no longer needed delays
authorBimmy Pujari <bimmy.pujari@intel.com>
Tue, 21 Feb 2017 23:55:45 +0000 (15:55 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 27 Mar 2017 23:47:43 +0000 (16:47 -0700)
Removed no longer needed delays.  At preproduction stage those delays were
needed but now these delays are not needed.

Signed-off-by: Bimmy Pujari <bimmy.pujari@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c

index 5da990909a8891549604f26f8223c7472a9ccfc9..0359f60b4792bf1fe8bd0859730151d41a95ad50 100644 (file)
@@ -4101,8 +4101,6 @@ static int i40e_vsi_control_tx(struct i40e_vsi *vsi, bool enable)
                }
        }
 
-       if (hw->revision_id == 0)
-               mdelay(50);
        return ret;
 }