From: Wayne Davison Date: Mon, 24 May 2004 22:59:16 +0000 (+0000) Subject: Got rid of a superfluous call to gettimeofday(). X-Git-Tag: v2.6.3pre1~236 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=edad5898f2c221ee869b14d5e16c4a8cf8c4e4bb;p=thirdparty%2Frsync.git Got rid of a superfluous call to gettimeofday(). --- diff --git a/util.c b/util.c index 69433359..a01a38d1 100644 --- a/util.c +++ b/util.c @@ -1042,7 +1042,6 @@ int msleep(int t) struct timeval tval, t1, t2; gettimeofday(&t1, NULL); - gettimeofday(&t2, NULL); while (tdiff < t) { tval.tv_sec = (t-tdiff)/1000;