From: Ben Pfaff Date: Thu, 21 Jan 2010 18:59:34 +0000 (-0800) Subject: ovsdb-idl: Avoid redundant memset. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=181aba2eb0dc0b2235eee33f8d87edd804362533;p=openvswitch ovsdb-idl: Avoid redundant memset. --- diff --git a/lib/ovsdb-idl.c b/lib/ovsdb-idl.c index 7ba0fd68..736707bb 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);