diff options
| author | Meco Man <[email protected]> | 2024-02-19 14:51:42 -0500 |
|---|---|---|
| committer | Rbb666 <[email protected]> | 2024-02-20 08:39:05 +0800 |
| commit | bd228eb9c538f55d69e535db36ef26aab36bb79c (patch) | |
| tree | 5fdc9979b0fcc7119a6ebe93b174b3dbde52d1ab /src/mem.c | |
| parent | 4bec5f9b8f74065713974181480622db98b7b548 (diff) | |
[ci] fix errors under strick compiling mode
Diffstat (limited to 'src/mem.c')
| -rw-r--r-- | src/mem.c | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -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); |
