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.9.0-rc1~118 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=a33eb425f64228f7e2e545cb2a9d8840720657ae;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)