From d2311a99416d7215aea2a126893c00e86e5f9aac Mon Sep 17 00:00:00 2001 From: Pawel Wieczorkiewicz Date: Tue, 19 Jul 2022 09:52:11 +0200 Subject: [PATCH] atomic: remove useless ATOMIC_INIT() macro Signed-off-by: Pawel Wieczorkiewicz --- include/arch/x86/atomic.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/arch/x86/atomic.h b/include/arch/x86/atomic.h index 2437a860..55fe8e3c 100644 --- a/include/arch/x86/atomic.h +++ b/include/arch/x86/atomic.h @@ -36,9 +36,6 @@ typedef struct { int64_t counter; } atomic64_t; -#define ATOMIC_INIT(i) \ - { (i) } - #define atomic_set(v, i) (ACCESS_ONCE((v)->counter) = (i)) #define atomic_read(v) (ACCESS_ONCE((v)->counter))