From e3408e9518efa85e3c1452f926222e3303bf63fb Mon Sep 17 00:00:00 2001 From: Bartosz Golaszewski Date: Fri, 17 Feb 2023 13:54:05 +0100 Subject: [PATCH] tools: remove unused defines The UNUSED define is unused (sic!). Drop it. Same for ARRAY_SIZE(). Signed-off-by: Bartosz Golaszewski --- tools/tools-common.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/tools-common.h b/tools/tools-common.h index 5d39170..434e5ba 100644 --- a/tools/tools-common.h +++ b/tools/tools-common.h @@ -15,9 +15,7 @@ */ #define NORETURN __attribute__((noreturn)) -#define UNUSED __attribute__((unused)) #define PRINTF(fmt, arg) __attribute__((format(printf, fmt, arg))) -#define ARRAY_SIZE(x) (sizeof(x) / sizeof(*(x))) #define GETOPT_NULL_LONGOPT NULL, 0, NULL, 0 -- 2.30.2