[ovs-dev] [PATCH 07/13] ovsdb-idl: Avoid redundant memset.
Jesse Gross
jesse at nicira.com
Mon Jan 25 22:03:58 UTC 2010
Looks good.
On Mon, Jan 25, 2010 at 1:18 PM, Ben Pfaff <blp at nicira.com> wrote:
> ---
> lib/ovsdb-idl.c | 1 -
> 1 files changed, 0 insertions(+), 1 deletions(-)
>
> diff --git a/lib/ovsdb-idl.c b/lib/ovsdb-idl.c
> index 7ba0fd6..736707b 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);
> --
> 1.6.3.3
>
>
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev_openvswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-dev/attachments/20100125/e2196a45/attachment-0003.html>
More information about the dev
mailing list