From: Matthew Fernandez Date: Sat, 17 Oct 2020 20:15:38 +0000 (-0700) Subject: remove POOLMTXLOCK() no-op X-Git-Tag: 2.46.0~20^2^2~16^2~14 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d38a53293ff528e951d118d71f09e0d582ee38a0;p=graphviz remove POOLMTXLOCK() no-op --- diff --git a/lib/sfio/sfclose.c b/lib/sfio/sfclose.c index d83c38cfa..7ab80d5cc 100644 --- a/lib/sfio/sfclose.c +++ b/lib/sfio/sfclose.c @@ -65,7 +65,6 @@ int sfclose(Sfio_t * f) if (f->pool == &_Sfpool) { int n; - POOLMTXLOCK(&_Sfpool); for (n = 0; n < _Sfpool.n_sf; ++n) { if (_Sfpool.sf[n] != f) continue; diff --git a/lib/sfio/sfhdr.h b/lib/sfio/sfhdr.h index 83bcca2c4..0cfc3628f 100644 --- a/lib/sfio/sfhdr.h +++ b/lib/sfio/sfhdr.h @@ -88,7 +88,6 @@ extern "C" { #define SFMTXSTART(f,v) { if(!f) return(v); } #define SFMTXRETURN(f,v) { return(v); } -#define POOLMTXLOCK(p) #define POOLMTXUNLOCK(p) #define POOLMTXSTART(p) #define POOLMTXRETURN(p,v) { return(v); }