From eb4666b38fd390d8d83152b90c2f52bfbb465bc0 Mon Sep 17 00:00:00 2001 From: Dean Lee Date: Tue, 13 Apr 2021 16:42:36 +0800 Subject: [PATCH] util.h: remove unused macro ALIGN (#20673) --- selfdrive/common/util.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/selfdrive/common/util.h b/selfdrive/common/util.h index b5a37427c..1e4377384 100644 --- a/selfdrive/common/util.h +++ b/selfdrive/common/util.h @@ -20,9 +20,6 @@ typedef void (*sighandler_t)(int sig); #endif -#undef ALIGN -#define ALIGN(x, align) (((x) + (align)-1) & ~((align)-1)) - // Reads a file into a newly allocated buffer. // // Returns NULL on failure, otherwise the NULL-terminated file contents.