summaryrefslogtreecommitdiffstats
path: root/drivers/net/virtio_net.c
diff options
context:
space:
mode:
authorJacob Keller <jacob.e.keller@intel.com>2017-04-19 09:25:53 -0400
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2017-04-30 04:19:55 -0700
commit2318b4018a9c2773a13f4fdac64d5519679fc171 (patch)
treef257c57a61aaf1f5973f5ba3b587e181aa811011 /drivers/net/virtio_net.c
parent707d088af33043642692d4522225cb9ca638e7ee (diff)
downloadtalos-op-linux-2318b4018a9c2773a13f4fdac64d5519679fc171.tar.gz
talos-op-linux-2318b4018a9c2773a13f4fdac64d5519679fc171.zip
i40e: remove unnecessary msleep() delay in i40e_free_vfs
The delay was added because of a desire to ensure that the VF driver can finish up removing. However, pci_disable_sriov already has its own ssleep() call that will sleep for an entire second, so there is no reason to add extra delay on top of this by using msleep here. In practice, an msleep() won't have a huge impact on timing but there is no real value in keeping it, so lets just simplify the code and remove it. Signed-off-by: Jacob Keller <jacob.e.keller@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/virtio_net.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud