mirror of
https://github.com/apache/nuttx.git
synced 2026-06-01 07:45:16 +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
|
# define MMSIZE_MAX UINT32_MAX
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define MM_IS_ALLOCATED(n) \
|
|
||||||
((int)((FAR struct mm_allocnode_s *)(n)->preceding) < 0)
|
|
||||||
|
|
||||||
/* What is the size of the allocnode? */
|
/* What is the size of the allocnode? */
|
||||||
|
|
||||||
#define SIZEOF_MM_ALLOCNODE sizeof(struct mm_allocnode_s)
|
#define SIZEOF_MM_ALLOCNODE sizeof(struct mm_allocnode_s)
|
||||||
|
|||||||
Reference in New Issue
Block a user