Thanks, applied.
On Wed, Feb 19, 2014 at 02:55:46PM -0800, Joe Stringer wrote: > Acked-by: Joe Stringer <joestrin...@nicira.com> > > > On 16 January 2014 10:07, Ben Pfaff <b...@nicira.com> wrote: > > > These were useful back when we were trying to use the sparse lock balance > > annotations, but we removed those in commit 47b52c71232c0 (sparse: Remove > > support for thread-safety annotations.) and so they serve no purpose any > > longer. > > > > Signed-off-by: Ben Pfaff <b...@nicira.com> > > --- > > lib/ovs-thread.h | 11 ----------- > > 1 file changed, 11 deletions(-) > > > > diff --git a/lib/ovs-thread.h b/lib/ovs-thread.h > > index 8cf2ecc..f27553e 100644 > > --- a/lib/ovs-thread.h > > +++ b/lib/ovs-thread.h > > @@ -115,17 +115,6 @@ void xpthread_cond_destroy(pthread_cond_t *); > > void xpthread_cond_signal(pthread_cond_t *); > > void xpthread_cond_broadcast(pthread_cond_t *); > > > > -#ifdef __CHECKER__ > > -/* Replace these functions by the macros already defined in the > > <pthread.h> > > - * annotations, because the macro definitions have correct semantics for > > the > > - * conditional acquisition that can't be captured in a function > > annotation. > > - * The difference in semantics from pthread_*() to xpthread_*() does not > > matter > > - * because sparse is not a compiler. */ > > -#define xpthread_mutex_trylock pthread_mutex_trylock > > -#define xpthread_rwlock_tryrdlock pthread_rwlock_tryrdlock > > -#define xpthread_rwlock_trywrlock pthread_rwlock_trywrlock > > -#endif > > - > > void xpthread_key_create(pthread_key_t *, void (*destructor)(void *)); > > void xpthread_key_delete(pthread_key_t); > > void xpthread_setspecific(pthread_key_t, const void *); > > -- > > 1.7.10.4 > > > > _______________________________________________ > > dev mailing list > > dev@openvswitch.org > > http://openvswitch.org/mailman/listinfo/dev > > _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev