From ba58b382e26d00fead138bbcb060bc3e572e1579 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) old-commit-hash: eb4666b38fd390d8d83152b90c2f52bfbb465bc0 --- selfdrive/common/util.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/selfdrive/common/util.h b/selfdrive/common/util.h index b5a37427c2..1e4377384e 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.