From 9c46be2d2f29d1f0c8ef4cffd483d1bab8014395 Mon Sep 17 00:00:00 2001 From: Chris Bieneman Date: Wed, 23 Sep 2015 15:28:35 +0000 Subject: [PATCH] Code cleanup based on post-commit review from Aaron Ballman. llvm-svn: 248385 --- compiler-rt/lib/builtins/atomic_flag_clear.c | 1 - compiler-rt/lib/builtins/atomic_flag_clear_explicit.c | 1 - 2 files changed, 2 deletions(-) diff --git a/compiler-rt/lib/builtins/atomic_flag_clear.c b/compiler-rt/lib/builtins/atomic_flag_clear.c index 37cce88d5cfb..da912af64312 100644 --- a/compiler-rt/lib/builtins/atomic_flag_clear.c +++ b/compiler-rt/lib/builtins/atomic_flag_clear.c @@ -22,7 +22,6 @@ #undef atomic_flag_clear void atomic_flag_clear(volatile atomic_flag *object) { __c11_atomic_store(&(object)->_Value, 0, __ATOMIC_SEQ_CST); - return; } #endif diff --git a/compiler-rt/lib/builtins/atomic_flag_clear_explicit.c b/compiler-rt/lib/builtins/atomic_flag_clear_explicit.c index a2e005ab0784..1059b787f169 100644 --- a/compiler-rt/lib/builtins/atomic_flag_clear_explicit.c +++ b/compiler-rt/lib/builtins/atomic_flag_clear_explicit.c @@ -23,7 +23,6 @@ void atomic_flag_clear_explicit(volatile atomic_flag *object, memory_order order) { __c11_atomic_store(&(object)->_Value, 0, order); - return; } #endif