mm: Remove the unused macro MM_IS_ALLOCATED
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
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)
|
||||
|
|
Loading…
Reference in New Issue