Cleanup: Remove unused max() macros from ring_buffer_frontend.c
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 10 May 2016 02:36:00 +0000 (22:36 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 10 May 2016 02:36:50 +0000 (22:36 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
libringbuffer/ring_buffer_frontend.c

index 53441aa52f08556d70dc26959513213c0d1c47d7..ed60d7e22aa63ee127f2ae8b00f186522bdaae13 100644 (file)
 #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)
 
This page took 0.026152 seconds and 4 git commands to generate.