mm: Remove the unused macro MM_IS_ALLOCATED

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2022-11-07 02:05:27 +08:00
committed by Masayuki Ishikawa
parent 7ad4b573fb
commit 7dcf35cf64
-3
View File
@@ -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)