X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fmacros.h;h=874501ef1749325b38ba6d4214990da1396cd74a;hp=e9dc190aac3f00c0235d272d375c950632013a26;hb=1cbd136b2479ef142bfb339b13d3d25aa772dda5;hpb=8cc65d5cbccb6e4ba91c4de0efc3e974a6ca61b5 diff --git a/src/common/macros.h b/src/common/macros.h index e9dc190aa..874501ef1 100644 --- a/src/common/macros.h +++ b/src/common/macros.h @@ -97,12 +97,6 @@ void *zmalloc(size_t len) #define is_signed(type) (((type) -1) < (type) 1) -/* - * Align value to the next multiple of align. Returns val if it already is a - * multiple of align. Align must be a power of two. - */ -#define ALIGN_TO(value, align) ((value + (align - 1)) & ~(align - 1)) - #define member_sizeof(type, field) sizeof(((type *) 0)->field) #define ASSERT_LOCKED(lock) LTTNG_ASSERT(pthread_mutex_trylock(&lock))