summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2021-02-28 11:12:18 +0800
committerMeco Man <[email protected]>2021-02-28 11:12:18 +0800
commit70f5c10262d8d11396557fa5f098d063126819ce (patch)
tree88b64c5cdf634a5298b126d584c675d7eea007fb /components
parentac275965f2e2d3ff730d06a8962ccaaea4f027ce (diff)
remove comments
Diffstat (limited to 'components')
-rw-r--r--components/libc/compilers/newlib/minilib.c1
-rw-r--r--components/libc/compilers/newlib/syscalls.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/components/libc/compilers/newlib/minilib.c b/components/libc/compilers/newlib/minilib.c
index 92877bd6c3..ca1bea0f91 100644
--- a/components/libc/compilers/newlib/minilib.c
+++ b/components/libc/compilers/newlib/minilib.c
@@ -63,7 +63,6 @@ _free_r (struct _reent *ptr, void *addr)
void *
_sbrk_r(struct _reent *ptr, ptrdiff_t incr)
{
- /* no use this routine to get memory */
return RT_NULL;
}
#endif /*RT_USING_HEAP*/
diff --git a/components/libc/compilers/newlib/syscalls.c b/components/libc/compilers/newlib/syscalls.c
index 444e3960c1..e54d7583cb 100644
--- a/components/libc/compilers/newlib/syscalls.c
+++ b/components/libc/compilers/newlib/syscalls.c
@@ -303,7 +303,6 @@ _free_r (struct _reent *ptr, void *addr)
void *
_sbrk_r(struct _reent *ptr, ptrdiff_t incr)
{
- /* no use this routine to get memory */
return RT_NULL;
}
#endif /*RT_USING_HEAP*/