Removing two unnecessary gettimeofday().