From 49683b9532f9ec200c38cc7401f08ff1250db73d Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sat, 17 Oct 2020 13:40:04 -0700 Subject: [PATCH] remove POOLMTXSTART() no-op --- lib/sfio/sfhdr.h | 1 - lib/sfio/sfmode.c | 2 -- 2 files changed, 3 deletions(-) diff --git a/lib/sfio/sfhdr.h b/lib/sfio/sfhdr.h index 95d2cd2de..f05fca9b1 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 POOLMTXSTART(p) #define POOLMTXRETURN(p,v) { return(v); } /* to test for executable access mode of a file */ diff --git a/lib/sfio/sfmode.c b/lib/sfio/sfmode.c index 479d2c81a..1a997fee9 100644 --- a/lib/sfio/sfmode.c +++ b/lib/sfio/sfmode.c @@ -97,8 +97,6 @@ int _sfsetpool(Sfio_t * f) if (!(p = f->pool)) p = f->pool = &_Sfpool; - POOLMTXSTART(p); - rv = -1; if (p->n_sf >= p->s_sf) { -- 2.40.0