From 181aba2eb0dc0b2235eee33f8d87edd804362533 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Thu, 21 Jan 2010 10:59:34 -0800 Subject: [PATCH] ovsdb-idl: Avoid redundant memset. --- lib/ovsdb-idl.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/ovsdb-idl.c b/lib/ovsdb-idl.c index 7ba0fd683..736707bbb 100644 --- a/lib/ovsdb-idl.c +++ b/lib/ovsdb-idl.c @@ -618,7 +618,6 @@ static struct ovsdb_idl_row * ovsdb_idl_row_create__(const struct ovsdb_idl_table_class *class) { struct ovsdb_idl_row *row = xzalloc(class->allocation_size); - memset(row, 0, sizeof *row); list_init(&row->src_arcs); list_init(&row->dst_arcs); hmap_node_nullify(&row->txn_node); -- 2.43.0