You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/07/08 19:11:46 UTC

[GitHub] [incubator-nuttx] davids5 commented on a change in pull request #4096: mm: Simplify the semaphore handling

davids5 commented on a change in pull request #4096:
URL: https://github.com/apache/incubator-nuttx/pull/4096#discussion_r666453232



##########
File path: mm/mm_heap/mm_free.c
##########
@@ -83,39 +83,16 @@ void mm_free(FAR struct mm_heap_s *heap, FAR void *mem)
       return;
     }
 
-#if defined(CONFIG_BUILD_FLAT) || defined(__KERNEL__)
-  /* Check current environment */
-
-  if (up_interrupt_context())
-    {

Review comment:
       @xiaoxiang781216  Where  is the equivalent test for the up_interrupt_context() to do a delayed action?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org