Now that the monotonic clock source is used the elapsed() function is no longer used, remove it. Signed-off-by: Ian Kent <raven@xxxxxxxxxx> --- lib/rpc_subs.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lib/rpc_subs.c b/lib/rpc_subs.c index 2364744..3d99f56 100644 --- a/lib/rpc_subs.c +++ b/lib/rpc_subs.c @@ -1078,14 +1078,6 @@ int rpc_ping(const char *host, long seconds, long micros, unsigned int option) return status; } -double elapsed(struct timeval start, struct timeval end) -{ - double t1, t2; - t1 = (double)start.tv_sec + (double)start.tv_usec/(1000*1000); - t2 = (double)end.tv_sec + (double)end.tv_usec/(1000*1000); - return t2-t1; -} - double monotonic_elapsed(struct timespec start, struct timespec end) { double t1, t2; -- To unsubscribe from this list: send the line "unsubscribe autofs" in