]> git.dujemihanovic.xyz Git - u-boot.git/commit
linux/time.h: Remove dead code
authorMarek BehĂșn <marek.behun@nic.cz>
Fri, 6 Oct 2017 13:04:56 +0000 (15:04 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 16 Oct 2017 13:42:51 +0000 (09:42 -0400)
commit502af618ec3d60f3c8b9914e3484f112fb295b6e
tree15d965cb8870bfac2fb1c3b086059c116cfd1ed2
parentb16339e254371b2823f48186889775b90b044f7e
linux/time.h: Remove dead code

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@nic.cz>
include/linux/time.h