diff options
author | Jacob Keller <jacob.e.keller@intel.com> | 2016-10-05 09:30:45 -0700 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2016-10-31 14:26:40 -0700 |
commit | 7d3f04af69bed2db87d6a72d100e182f773e54b7 (patch) | |
tree | da12cca751307fadc235605ee012753faeac86d0 /include/linux/mutex-debug.h | |
parent | 124905012db8bdeebf5a7d1ddc841eaadda84a75 (diff) | |
download | linux-7d3f04af69bed2db87d6a72d100e182f773e54b7.tar.gz linux-7d3f04af69bed2db87d6a72d100e182f773e54b7.tar.xz |
i40evf: avoid an extra msleep while
Remove the second call to msleep outside the loop, and move the msleep
within the loop as the first step. This guarantees that a single loop
will wait the minimum time first, and then after the reset finishes we
no longer need an extra msleep.
Change-ID: Ib2086f0a142402b614f67846bc091754203a0b9a
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 'include/linux/mutex-debug.h')
0 files changed, 0 insertions, 0 deletions