From 2589cf64e9bfe81c1089c654c570852458ad2557 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Mon, 9 May 2016 22:36:00 -0400 Subject: [PATCH] Cleanup: Remove unused max() macros from ring_buffer_frontend.c Signed-off-by: Mathieu Desnoyers --- libringbuffer/ring_buffer_frontend.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libringbuffer/ring_buffer_frontend.c b/libringbuffer/ring_buffer_frontend.c index 53441aa5..ed60d7e2 100644 --- a/libringbuffer/ring_buffer_frontend.c +++ b/libringbuffer/ring_buffer_frontend.c @@ -74,10 +74,6 @@ #include "tlsfixup.h" #include "../liblttng-ust/compat.h" /* For ENODATA */ -#ifndef max -#define max(a, b) ((a) > (b) ? (a) : (b)) -#endif - /* Print DBG() messages about events lost only every 1048576 hits */ #define DBG_PRINT_NR_LOST (1UL << 20) -- 2.34.1