From 36e9fe9c7b5b278ac07c71676e318d9120967920 Mon Sep 17 00:00:00 2001 From: Jarno Rajahalme Date: Tue, 3 Jun 2014 08:35:16 -0700 Subject: [PATCH] ovs-rcu: Remove the extra 'typedef' keyword. 'struct ovsrcu_pointer' is always used with the 'struct' keyword, so remove the unneeded 'typedef'. Signed-off-by: Jarno Rajahalme Acked-by: YAMAMOTO Takashi --- lib/ovs-rcu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ovs-rcu.h b/lib/ovs-rcu.h index 4b451b23b..6b809f15a 100644 --- a/lib/ovs-rcu.h +++ b/lib/ovs-rcu.h @@ -143,7 +143,7 @@ #define ovsrcu_get_protected(TYPE, VAR) \ CONST_CAST(TYPE, ovsrcu_get__(TYPE, VAR, memory_order_relaxed)) #else /* not GNU C */ -typedef struct ovsrcu_pointer { ATOMIC(void *) p; }; +struct ovsrcu_pointer { ATOMIC(void *) p; }; #define OVSRCU_TYPE(TYPE) struct ovsrcu_pointer static inline void * ovsrcu_get__(const struct ovsrcu_pointer *pointer, memory_order order) -- 2.20.1