2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-31 14:25:26 +00:00

ovs-atomic: Delete atomic, atomic_flag, ovs_refcount destroy functions.

None of the atomic implementations need a destroy function anymore, so it's
"more standard" and more convenient for users to get rid of them.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Andy Zhou <azhou@nicira.com>
This commit is contained in:
Ben Pfaff
2014-03-11 13:16:54 -07:00
parent 6a36690c20
commit 8917f72cbb
23 changed files with 12 additions and 120 deletions

View File

@@ -822,7 +822,6 @@ nl_dump_done(struct nl_dump *dump)
ovs_assert(status);
ofpbuf_uninit(&buf);
}
atomic_destroy(&dump->status);
nl_pool_release(dump->sock);
seq_destroy(dump->status_seq);
return status >> 1;