From af314c402746e55c90e0b729c5d8a4610ed783f1 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sat, 17 Oct 2020 13:27:59 -0700 Subject: [PATCH] remove POOLMTXUNLOCK() 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 7ab80d5cc..d8c2d0af0 100644 --- a/lib/sfio/sfclose.c +++ b/lib/sfio/sfclose.c @@ -74,7 +74,6 @@ int sfclose(Sfio_t * f) _Sfpool.sf[n] = _Sfpool.sf[n + 1]; break; } - POOLMTXUNLOCK(&_Sfpool); } else { f->mode &= ~SF_LOCK; /**/ ASSERT(_Sfpmove); diff --git a/lib/sfio/sfhdr.h b/lib/sfio/sfhdr.h index 0cfc3628f..95d2cd2de 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 POOLMTXUNLOCK(p) #define POOLMTXSTART(p) #define POOLMTXRETURN(p,v) { return(v); } -- 2.40.0