'struct ovsrcu_pointer' is always used with the 'struct' keyword, so remove the unneeded 'typedef'.
Signed-off-by: Jarno Rajahalme <jrajaha...@nicira.com> --- 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 775b829..c3e06ad 100644 --- a/lib/ovs-rcu.h +++ b/lib/ovs-rcu.h @@ -132,7 +132,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 #define OVSRCU_TYPE_INITIALIZER { NULL } static inline void * -- 1.7.10.4 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev