projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7f7adb
)
ovsdb-idl: Avoid redundant memset.
author
Ben Pfaff
<blp@nicira.com>
Thu, 21 Jan 2010 18:59:34 +0000
(10:59 -0800)
committer
Ben Pfaff
<blp@nicira.com>
Tue, 26 Jan 2010 17:46:43 +0000
(09:46 -0800)
lib/ovsdb-idl.c
patch
|
blob
|
history
diff --git
a/lib/ovsdb-idl.c
b/lib/ovsdb-idl.c
index 7ba0fd68366b19969a220f0edde6302b9080e970..736707bbbcc3a68ac9610f6ed849b2105ad93f62 100644
(file)
--- 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);