summaryrefslogtreecommitdiff
path: root/src/mem.c
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2024-02-19 14:51:42 -0500
committerRbb666 <[email protected]>2024-02-20 08:39:05 +0800
commitbd228eb9c538f55d69e535db36ef26aab36bb79c (patch)
tree5fdc9979b0fcc7119a6ebe93b174b3dbde52d1ab /src/mem.c
parent4bec5f9b8f74065713974181480622db98b7b548 (diff)
[ci] fix errors under strick compiling mode
Diffstat (limited to 'src/mem.c')
-rw-r--r--src/mem.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/mem.c b/src/mem.c
index 0704e29562..d0bfca9a9a 100644
--- a/src/mem.c
+++ b/src/mem.c
@@ -290,16 +290,6 @@ void *rt_smem_alloc(rt_smem_t m, rt_size_t size)
RT_ASSERT(rt_object_get_type(&m->parent) == RT_Object_Class_Memory);
RT_ASSERT(rt_object_is_systemobject(&m->parent));
- if (size != RT_ALIGN(size, RT_ALIGN_SIZE))
- {
- LOG_D("malloc size %d, but align to %d",
- size, RT_ALIGN(size, RT_ALIGN_SIZE));
- }
- else
- {
- LOG_D("malloc size %d", size);
- }
-
small_mem = (struct rt_small_mem *)m;
/* alignment size */
size = RT_ALIGN(size, RT_ALIGN_SIZE);