From d38a53293ff528e951d118d71f09e0d582ee38a0 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sat, 17 Oct 2020 13:15:38 -0700 Subject: [PATCH] remove POOLMTXLOCK() no-op --- lib/sfio/sfclose.c | 1 - lib/sfio/sfhdr.h | 1 - 2 files changed, 2 deletions(-) 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); } -- 2.50.1