From: Jarno Rajahalme Date: Tue, 3 Jun 2014 15:35:16 +0000 (-0700) Subject: ovs-rcu: Remove the extra 'typedef' keyword. X-Git-Tag: v2.3~75 X-Git-Url: http://git.cascardo.eti.br/?a=commitdiff_plain;ds=sidebyside;h=36e9fe9c7b5b278ac07c71676e318d9120967920;p=cascardo%2Fovs.git 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 --- 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)