Since start_time = end_time - delta, start_time can only equal end_time
when delta is 0, making the explicit end_time == start_time check
redundant. Remove it.
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Reviewed-by: Stephan Mueller <smueller@chronox.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
* delta even when called shortly after each other -- this
* implies that we also have a high resolution timer
*/
- if (!delta || (end_time == start_time)) {
+ if (!delta) {
ret = JENT_ECOARSETIME;
goto out;
}