ovsdb-idl: Avoid redundant memset.
authorBen Pfaff <blp@nicira.com>
Thu, 21 Jan 2010 18:59:34 +0000 (10:59 -0800)
committerBen Pfaff <blp@nicira.com>
Tue, 26 Jan 2010 17:46:43 +0000 (09:46 -0800)
lib/ovsdb-idl.c

index 7ba0fd68366b19969a220f0edde6302b9080e970..736707bbbcc3a68ac9610f6ed849b2105ad93f62 100644 (file)
@@ -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);