mirror of
https://github.com/apache/nuttx.git
synced 2026-05-19 11:53:25 +08:00
mm: Remove the unused macro MM_IS_ALLOCATED
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Masayuki Ishikawa
parent
7ad4b573fb
commit
7dcf35cf64
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user