From: Mathieu Desnoyers Date: Tue, 10 May 2016 02:36:00 +0000 (-0400) Subject: Cleanup: Remove unused max() macros from ring_buffer_frontend.c X-Git-Tag: v2.8.0~26 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=2589cf64e9bfe81c1089c654c570852458ad2557;p=lttng-ust.git Cleanup: Remove unused max() macros from ring_buffer_frontend.c Signed-off-by: Mathieu Desnoyers --- 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)