[U-Boot] [U-Boot,1/4] linux/time.h: Remove dead code

Tom Rini trini at konsulko.com
Tue Oct 17 00:47:03 UTC 2017


On Fri, Oct 06, 2017 at 03:04:56PM +0200, Marek BehĂșn wrote:

> Since
>   rem = ((long) *tim_p) % SECSPERDAY;
> the second while cycle
>   while (rem >= SECSPERDAY)
> is dead.
> 
> Reported-by: Coverity (CID: 167334)
> Signed-off-by: Marek Behun <marek.behun at nic.cz>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20171016/761c9f67/attachment.sig>


More information about the U-Boot mailing list