Re: [PATCH] qlge: Move jiffies_to_usecs immediately before loop
From: David Miller
Date: Thu May 21 2015 - 17:23:42 EST
From: Joe Perches <joe@xxxxxxxxxxx>
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@xxxxxxxxxxx>
This looks fine, applied to net-next, thanks Joe.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/