From 1f14506c378d83489d8695b415d40c7b64e7e803 Mon Sep 17 00:00:00 2001 From: Gerard Marull-Paretas Date: Wed, 23 Nov 2022 09:49:10 +0100 Subject: [PATCH] soc: arm: aspeed: remove unused DIV_ROUND_UP Helper macro is not used, so delete it. Signed-off-by: Gerard Marull-Paretas --- soc/arm/aspeed/aspeed_util.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/soc/arm/aspeed/aspeed_util.h b/soc/arm/aspeed/aspeed_util.h index ba1754e611b..27a4a504e78 100644 --- a/soc/arm/aspeed/aspeed_util.h +++ b/soc/arm/aspeed/aspeed_util.h @@ -29,8 +29,6 @@ #define NON_CACHED_BSS_ALIGN16 __aligned(16) #endif -#define DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d)) - #define reg_read_poll_timeout(map, reg, val, cond, sleep_ms, timeout_ms) \ ({ \ uint32_t __timeout_tick = Z_TIMEOUT_MS(timeout_ms).ticks; \