From 8e24788f5836f9d1d1140ddca4265f699b30477e Mon Sep 17 00:00:00 2001 From: Tim Wickberg <tim@schedmd.com> Date: Fri, 8 Jan 2016 14:31:49 -0500 Subject: [PATCH] remove redundant MIN/MAX macros --- src/common/cbuf.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/common/cbuf.c b/src/common/cbuf.c index df00baf94d6..e771d91ba7d 100644 --- a/src/common/cbuf.c +++ b/src/common/cbuf.c @@ -166,14 +166,6 @@ static int cbuf_is_valid (cbuf_t cb); * Macros * ************/ -#ifndef MAX -# define MAX(x,y) (((x) >= (y)) ? (x) : (y)) -#endif /* !MAX */ - -#ifndef MIN -# define MIN(x,y) (((x) <= (y)) ? (x) : (y)) -#endif /* !MIN */ - #ifdef WITH_PTHREADS # define cbuf_mutex_init(cb) \ -- GitLab