[Intel-wired-lan] [next PATCH S49-V2 15/15] i40evf: avoid an extra msleep while

Bowers, AndrewX andrewx.bowers at intel.com
Fri Oct 7 16:40:37 UTC 2016


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On
> Behalf Of Bimmy Pujari
> Sent: Wednesday, October 05, 2016 9:31 AM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [next PATCH S49-V2 15/15] i40evf: avoid an extra
> msleep while
> 
> From: Jacob Keller <jacob.e.keller at intel.com>
> 
> 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.
> 
> Signed-off-by: Jacob Keller <jacob.e.keller at intel.com>
> Change-ID: Ib2086f0a142402b614f67846bc091754203a0b9a
> ---
>  drivers/net/ethernet/intel/i40evf/i40evf_main.c | 8 +++++---
>  1 file changed, 5 insertions(+), 3 deletions(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list