[ovs-dev] [PATCH] ovs-thread: Remove superfluous semicolons in macro definitions.

Ben Pfaff blp at nicira.com
Thu Aug 8 22:56:09 UTC 2013


Thanks, applied to master.

On Thu, Aug 08, 2013 at 03:51:25PM -0700, Ethan Jackson wrote:
> Acked-by: Ethan Jackson <ethan at nicira.com>
> 
> On Thu, Aug 8, 2013 at 3:45 PM, Ben Pfaff <blp at nicira.com> wrote:
> > Signed-off-by: Ben Pfaff <blp at nicira.com>
> > ---
> >  lib/ovs-thread.h |    4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/lib/ovs-thread.h b/lib/ovs-thread.h
> > index 3f2c2ab..3547686 100644
> > --- a/lib/ovs-thread.h
> > +++ b/lib/ovs-thread.h
> > @@ -116,7 +116,7 @@ void ovs_rwlock_unlock(const struct ovs_rwlock *rwlock) OVS_RELEASES(rwlock);
> >  void ovs_rwlock_wrlock_at(const struct ovs_rwlock *rwlock, const char *where)
> >      OVS_ACQ_WRLOCK(rwlock);
> >  #define ovs_rwlock_wrlock(rwlock) \
> > -        ovs_rwlock_wrlock_at(rwlock, SOURCE_LOCATOR);
> > +        ovs_rwlock_wrlock_at(rwlock, SOURCE_LOCATOR)
> >
> >  int ovs_rwlock_trywrlock_at(const struct ovs_rwlock *rwlock, const char *where)
> >      OVS_TRY_WRLOCK(0, rwlock);
> > @@ -126,7 +126,7 @@ int ovs_rwlock_trywrlock_at(const struct ovs_rwlock *rwlock, const char *where)
> >  void ovs_rwlock_rdlock_at(const struct ovs_rwlock *rwlock, const char *where)
> >      OVS_ACQ_RDLOCK(rwlock);
> >  #define ovs_rwlock_rdlock(rwlock) \
> > -        ovs_rwlock_rdlock_at(rwlock, SOURCE_LOCATOR);
> > +        ovs_rwlock_rdlock_at(rwlock, SOURCE_LOCATOR)
> >
> >  int ovs_rwlock_tryrdlock_at(const struct ovs_rwlock *rwlock, const char *where)
> >      OVS_TRY_RDLOCK(0, rwlock);
> > --
> > 1.7.10.4
> >
> > _______________________________________________
> > dev mailing list
> > dev at openvswitch.org
> > http://openvswitch.org/mailman/listinfo/dev



More information about the dev mailing list