Makefile.am: Clean flake8-check too.
[cascardo/ovs.git] / lib / timeval.c
index a77fc61..d390df1 100644 (file)
@@ -115,7 +115,6 @@ init_clock(struct clock *c, clockid_t id)
     ovs_mutex_init(&c->mutex);
     atomic_init(&c->slow_path, false);
     xclock_gettime(c->id, &c->cache);
-    memset(&c->large_warp, 0, sizeof(c->large_warp));
 }
 
 static void
@@ -271,7 +270,7 @@ time_poll(struct pollfd *pollfds, int n_pollfds, HANDLE *handles OVS_UNUSED,
     time_init();
     coverage_clear();
     coverage_run();
-    if (*last_wakeup) {
+    if (*last_wakeup && !thread_is_pmd()) {
         log_poll_interval(*last_wakeup);
     }
     start = time_msec();