acassis commented on code in PR #14578:
URL: https://github.com/apache/nuttx/pull/14578#discussion_r1824542996


##########
arch/xtensa/src/esp32/esp32_ble_adapter.c:
##########
@@ -2353,12 +2353,7 @@ static int32_t esp_task_create_pinned_to_core(void 
*entry,
   DEBUGASSERT(task_handle != NULL);
 
 #ifdef CONFIG_SMP
-  ret = sched_lock();
-  if (ret)
-    {
-      wlerr("Failed to lock scheduler before creating pinned thread\n");
-      return false;
-    }

Review Comment:
   @hujun260 why to remove the check test?



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to