init_clock begins with a memset of 0 of the full clock struct. This memset at the end of a single struct member just makes extra sure that it's set to 0, which is unnecessary.
Signed-off-by: Russell Bryant <rbry...@redhat.com> --- lib/timeval.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/timeval.c b/lib/timeval.c index a77fc61..8f1c97f 100644 --- a/lib/timeval.c +++ b/lib/timeval.c @@ -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 -- 2.1.0 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev