lkml.org 
[lkml]   [2015]   [May]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] qlge: Move jiffies_to_usecs immediately before loop
From
From: Joe Perches <joe@perches.com>
Date: Tue, 19 May 2015 21:44:52 -0700

> 30 usecs (or really, 1 jiffy) can go by pretty fast.
>
> Move the set of the timeout immediately before the loop.
>
> Remove the unnecessary max(1ul, usecs_to_jiffies(30)) as
> usecs_to_jiffies with a non-zero constant is guaranteed
> to be non-zero.
>
> Signed-off-by: Joe Perches <joe@perches.com>

This looks fine, applied to net-next, thanks Joe.


\
 
 \ /
  Last update: 2015-05-21 23:41    [W:0.032 / U:0.404 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site