From 8917f72cbb04fb32dc29f93475bcd2de3011d442 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Tue, 11 Mar 2014 13:16:54 -0700 Subject: 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 Acked-by: Andy Zhou --- tests/test-atomic.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'tests/test-atomic.c') diff --git a/tests/test-atomic.c b/tests/test-atomic.c index bc00df139..887789bbe 100644 --- a/tests/test-atomic.c +++ b/tests/test-atomic.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013 Nicira, Inc. + * Copyright (c) 2013, 2014 Nicira, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,8 +59,6 @@ ovs_assert(orig == 2); \ atomic_read(&x, &value); \ ovs_assert(value == 8); \ - \ - atomic_destroy(&x); \ } static void -- cgit v1.2.1