From 7dcf35cf6449597b9ea2dd57d4e73d32f7ceafe0 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Mon, 7 Nov 2022 02:05:27 +0800 Subject: [PATCH] mm: Remove the unused macro MM_IS_ALLOCATED Signed-off-by: Xiang Xiao --- mm/mm_heap/mm.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/mm/mm_heap/mm.h b/mm/mm_heap/mm.h index 36a908770f..4c10782373 100644 --- a/mm/mm_heap/mm.h +++ b/mm/mm_heap/mm.h @@ -121,9 +121,6 @@ # define MMSIZE_MAX UINT32_MAX #endif -#define MM_IS_ALLOCATED(n) \ - ((int)((FAR struct mm_allocnode_s *)(n)->preceding) < 0) - /* What is the size of the allocnode? */ #define SIZEOF_MM_ALLOCNODE sizeof(struct mm_allocnode_s)