ovs-rcu: Remove the extra 'typedef' keyword.
authorJarno Rajahalme <jrajahalme@nicira.com>
Tue, 3 Jun 2014 15:35:16 +0000 (08:35 -0700)
committerJarno Rajahalme <jrajahalme@nicira.com>
Tue, 3 Jun 2014 15:45:49 +0000 (08:45 -0700)
'struct ovsrcu_pointer' is always used with the 'struct' keyword, so
remove the unneeded 'typedef'.

Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com>
Acked-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
lib/ovs-rcu.h

index 4b451b2..6b809f1 100644 (file)
 #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)